⌘K
git status
all
Show the changes to files in a Git repository. List changed, added, and deleted files compared to the currently checked-out commit.
More info →Options (5)
-s, --shortbooleanGive output in short format
Example:
git status {{[-s|--short]}}booleanShow verbose information on changes in both the staging area and working directory
Example:
git status {{[-vv|--verbose --verbose]}}-b, --branchbooleanShow the branch and tracking info
Example:
git status {{[-b|--branch]}}booleanShow output in short format along with branch info
Example:
git status {{[-sb|--short --branch]}}booleanDon't show untracked files in the output
Example:
git status {{[-uno|--untracked-files=no]}}Examples (7)
Show changed files which are not yet added for commit
git statusGive output in short format
git status [-s|--short]Show verbose information on changes in both the staging area and working directory
git status [-vv|--verbose --verbose]Show the branch and tracking info
git status [-b|--branch]Show output in short format along with branch info
git status [-sb|--short --branch]Show the number of entries currently stashed away
git status --show-stashDon't show untracked files in the output
git status [-uno|--untracked-files=no]made by @shridhargupta | data from tldr-pages