All tools
🌿 Git Cheat Sheet
Cheat SheetsThe 24 commands that cover 95% of daily git use — every row copyable
The 24 commands that cover 95% of daily git use
git statusshow what changed and what's stagedgit add .stage everything in the current foldergit commit -m "msg"save a snapshot with a messagegit pushupload commits to the remotegit pulldownload and merge remote changesgit clone URLcopy a repo to your machinegit branch namecreate a new branchgit checkout nameswitch to a branchgit switch -c namecreate and switch in one gogit merge namemerge a branch into the current onegit log --onelinecompact history viewgit diffsee unstaged changesgit restore filediscard local changes to a filegit reset --soft HEAD~1undo last commit, keep changesgit stashshelve changes temporarilygit stash poprestore shelved changesgit remote -vlist remotesgit tag v1.0mark a release pointgit blame filewho last touched each linegit cherry-pick shacopy one commit overgit rebase mainreplay your branch onto maingit fetchdownload remote changes without merginggit clean -fddelete untracked files (careful!)git help commandmanual for any commandOne of 1095+ instant kits on SlashAI — free forever, nothing uploaded, no account.