Tools
Runs locally

Git Command Reference

A short field guide to everyday Git.

git status
Show the working tree
git diff
Unstaged changes
git add -p
Stage hunks interactively
git commit
Record a snapshot
git log --oneline
Compact history
git switch -c name
Create and switch to a branch
git pull --ff-only
Update only if fast-forward is possible
git push -u origin HEAD
Publish the current branch
git restore --staged file
Unstage a file
git stash push -m "wip"
Shelve work in progress
git rebase main
Replay commits onto main
git merge --no-ff branch
Merge with a merge commit

Export and import are available after you sign in. Sign in

Searchable commands with what they do. Running them is left to your terminal.

About this tool

Forgot how to undo a commit, rename a branch or stash changes? Search the reference by command or task and copy the command into your terminal.

How to use it

  1. 01

    Type a command or a task, for example "undo".

  2. 02

    Read what the matching commands do.

  3. 03

    Copy the command into your terminal.

FAQ

Frequently asked questions

Does it run Git commands?

No. It is a reference; running the commands is left to your terminal.

Is it suitable for beginners?

Yes. Each command comes with a plain-language description.