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 - 80+ Commands, Branch & Rebase

80+ Git commands: commit, branch, merge, rebase, revert, remote and git log, grouped so the fix is one lookup away.

2026-09-1044 commands
gitBranchRollback

.gitignore Syntax Cheat Sheet - Patterns & Rules

.gitignore syntax cheat sheet: wildcards, directory rules, negation (!), global ignores and templates for Node, Python.

2026-08-0224 commands
gitignoregitIgnore