Example — Cheatsheet Content Type
Example title: Git Quick Reference
Guidance: Use cheatsheet when the reader already knows the concept and needs the exact command or syntax. Keep it command-first, scannable, and free of tutorial prose.
Example content
A Git cheatsheet for staging, committing, branching, and merging — use it to recall exact commands and syntax without reading a full tutorial. It assumes you already know Git and only need the command.
Stage and commit
| Task | Command |
|---|---|
| Stage a file | git add <file> |
| Stage all changes | git add -A |
| Commit staged changes | git commit -m "msg" |
| Amend last commit | git commit --amend |
Branching
git branch # list branches
git switch -c feature # create and switch
git merge feature # merge into current
git branch -d feature # delete
Tips
- One action per row.
- Prefer tables over prose.
- Keep the page short enough to scan in seconds.