How can I check if I have any uncommitted changes in my git repository:

  1. Changes added to the index but not committed
  2. Untracked files

from a script?

git-status seems to always return zero with git version 1.6.4.2.

14 Answers
14

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *