Git Hidden Gems
summary
Nine concrete Git tricks demonstrated with live commands and successful demos: nine gems include using Delta pager (Rust) for colored diffs, creating a reusable git add -p workflow to stage hunks, isolating staged changes with git stash --keep-index, searching history with git log -S (pickaxe), enabling rebase.autosquash and rebase.autoStash to automate squashing, performing branch surgery with git rebase --onto, recovering lost commits via git reflog, and recording/auto-applying conflict resolutions with git rerere.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 4:06Pretty logs and aliases
- 8:57Enhancing diff output
- 11:30Staging and partial commits
- 17:43Verification with stash
- 19:50Searching history
- 23:40Rebase automation
- 31:28Comparing branches
- 36:42Advanced rebasing
- 41:28Utilizing the reflog
- 51:45Conflict resolution








