Volume 01 / Phase 03
Diagnostics
Forensic repository analysis, manipulation strategies, and recovery protocols.
07. Advanced Techniques
Interactive Rebase
$ git rebase --interactive HEAD~5
Surgically rewrite, reorder, or expunge commits from the record.
Cherry-picking
$ git cherry-pick [hash]
Selectively apply discrete commits across lineages.
08. The Reflog
A low-level log recording every HEAD transition. Your ultimate recovery failsafe.
$ git reflog
e4a5521 HEAD@{0}: checklist: forensic audit
d3f11bc HEAD@{1}: commit: nordic release
e4a5521 HEAD@{0}: checklist: forensic audit
d3f11bc HEAD@{1}: commit: nordic release
09. Bisecting
Implementation of binary search to isolate the precise introduction of regressions.
$ git bisect start
$ git bisect bad [commit]
$ git bisect good [commit]
$ git bisect bad [commit]
$ git bisect good [commit]