JAEN

Git

git status

SafeWorking tree status

git status

Shows changes, staged files and branch state — the first thing to run.

Examples

  • git status -sShort format

Syntax

git status [-s]

Before you run it

Read-only.

Used when you see

Stuck in Git (push rejected / conflict)
1
Check the state firstWhat's uncommitted?
See the whole flow →
Stuck in detached HEAD
1
Check current state and HEAD
See the whole flow →
Merge conflict
1
List conflicted files
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store