Search code examples
branchgit

git command to check if a repository has any uncommitted changes


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


Solution

  • If you are only interested in files which are part of the index, the following command shows concise info

    git status -suno