SyntaxStudy
Sign Up
Home Git Reference git status

git status

command

Shows the state of the working directory and staging area. Lists tracked, untracked, and modified files.

Syntax

git status

Example

bash
git status
git status -s    # short format
git status -sb   # short with branch info