Version Control Command Cheatsheet
2 cheatsheets covering git, Branch, Rollback, Merging, gitignore and more
Version control exists so you can undo mistakes, untangle branches, and recover a bad commit. Git barely ever truly deletes anything: once a commit exists it stays in the object database, just without a reference — so most accidents are recoverable in place. This category covers Git end to end, grouped by commit, branch, revert and remote collaboration, plus a gitignore rule reference for excluding build output and secrets. When to use: everyday commit and pull lives in the commit group; merge conflicts and reviewing someone else’s PR belong in branch; the moment you delete the wrong branch or push too hard, go straight to revert. If you are new here, drill amend, revert and reflog first — between them they cover most of the "what now" moments.
Git Cheatsheet - Commit, Branch, Merge, Rebase & Log
Git cheat sheet — 50+ essential commands in one page: commit & stash, branch create/merge/rebase, revert & recovery, remote collaboration, and git log history queries, grouped so you can find the fix the moment a commit goes wrong.
.gitignore Cheatsheet - Ignore Patterns & Rules
A .gitignore pattern reference for developers who keep Git repos clean and avoid committing dependency directories or secrets, covering glob matching, directories vs files, negation, global ignore, and common language templates.