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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store