Reputation: 1072
I need to know if there is a git command using which I can check if there are any uncommitted changes present in a branch for a given repository
Upvotes: 6
Views: 8162
Reputation: 4921
To show uncommitted changes in files that are already part of the index as well as in untracked files, use git status -s
Upvotes: 0
Reputation: 622
If you are only interested in files which are part of the index, the following command shows concise info
git status -suno
Upvotes: 12
Reputation: 19
http://supercollider.sourceforge.net/wiki/index.php/Developer_cheatsheet_for_git
refer this link for git commands.
show uncommited local changes:
git diff [file]
Upvotes: 0