Git Cheatsheet - Quick Git Command Reference

Quick reference for common Git commands. Search, copy, and use Git commands instantly.

Share
Back to Git Cheatsheet

git status

Show working tree and staging area status

Syntax

git status [options]

Common Options

OptionDescription
-s, --shortShort format output
-b, --branchShow branch info
--porcelainMachine-readable format
-u, --untracked-filesShow untracked files
--ignoredShow ignored files
-v, --verboseVerbose output

Examples

git status

View full status

git status -s

Short status

git status -sb

Short status with branch info

Related Tools

More Code & Dev Tools