TIL: git history fixup replaces the autosquash danceOriginalGit 2.55's experimental git history fixup folds staged changes into an earlier commit in one command. I built it from source and ran it.TIL
TIL: Speeding Up GitHub Operations With gh AliasesOriginalgh alias set maps custom shortcuts to any gh command. Common workflows become two-word commands instead of multi-flag incantations.TIL
TIL: Interactive Staging With git add -pOriginalgit add -p shows each change hunk by hunk and asks whether to stage it. Commit only the relevant parts of a messy working tree.TIL
TIL: Configuring pre-commit Hooks for Python and Node ReposOriginalpre-commit runs linters and formatters on every git commit. A .pre-commit-config.yaml enforces the same checks across every contributor.TIL
TIL: Using git bisect To Find the Commit That Broke a BuildOriginalgit bisect does a binary search through your history to find the exact commit that introduced a bug. Mark good and bad, it does the rest.TIL
TIL: Conditional Git Hooks With core.hooksPathOriginalGit's core.hooksPath lets each repo use its own hooks directory. No more symlinks or global hook collisions across projects.TIL