Cheatsheet Pages / Git Cheatsheet

How to see what has changed in Git, compactly — git status -sb

You want a compact overview of your branch, staged files and untracked files before you commit.

git status -sb   # -s = short, -b = show branch + ahead/behind

Good to know

Compact status: branch, staged (M), unstaged, untracked.

Git Cheatsheet one-page card — 30 daily and rescue commands
The full one-page card — Git Cheatsheet. Get the complete cheatsheet on GitHub