GitBasics

git status

Shows the state of the working directory and staging area — which files are staged, unstaged, or untracked.

Syntax

git status [--short]

Examples

Compact one-line-per-file output

git status --short

Related commands