# Git Cheatsheet Guide

A quick reference of the Git commands I keep forgetting.

- Tool: https://ilham.dev/tools/git-cheatsheet/
- Guide URL: https://ilham.dev/guides/git-cheatsheet/
- Tool guides index: https://ilham.dev/guides/tools/
- Broader guide: Linux Command Line Tasks Without Surprises (https://ilham.dev/guides/linux-command-line/)

## 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 https://ilham.dev/tools/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.