git status
Show the changes to files in a Git repository. Lists changed, added and deleted files compared to the currently checked-out commit. More information: https://git-scm.com/docs/git-status.
-
Show changed files which are not yet added for commit:
git status
-
Give output in [s]hort format:
git status -s
-
Don't show untracked files in the output:
git status --untracked-files=no
-
Show output in [s]hort format along with [b]ranch info:
git status -sb
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.