Skip to main content

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​

TaskCommand
Stage a filegit add <file>
Stage all changesgit add -A
Commit staged changesgit commit -m "msg"
Amend last commitgit 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.