Git Hidden Gems
summary
Nine concrete Git tricks are demonstrated, including a custom git log format that shows abbreviated hashes and refs, using Delta as core.pager for syntax-highlighted diffs, selective staging with git add -p and git restore hunks, stash --keep-index to test staged-only changes, pickaxe (-S) and -L for function-level history searches, automated workflows with rebase --autosquash and auto-stash, reflog for undoing rebases, and rerere to record and replay conflict resolutions.
AI-written summary · about
chapters (11)
- 0:00Introduction and setup
- 4:08Pretty logs and aliases
- 8:15Pretty diffs with Delta
- 10:22Partial staging and patching
- 16:43Stashing changes
- 18:53Advanced search capabilities
- 22:17Automation with auto squash
- 28:48Dot notation for comparisons
- 33:23Rebase onto functionality
- 38:25Using the reflog
- 45:44Rerere for conflict resolution








