A short companion for Git Cheatsheet: when it is useful, what it expects, and what to check before using the result.

What it does

A searchable reference for the Git commands that come up less often: undoing a commit, recovering a deleted branch, rewriting history, and finding which commit introduced a line.

Use the tool

Open Git Cheatsheet, add the input the tool asks for, run it, and check the output before using it elsewhere.

Input and output

  • Input: text.
  • Output: text.
  • Category: Workflow.

Privacy and processing

Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

Questions

Is it safe to run these commands?

Read what each one does first. The entries that rewrite history are marked, because on a shared branch they affect everyone who has pulled it.

Related guide

For broader background, see Linux Command Line Tasks Without Surprises.