Advanced Git
Welcome to the Advanced Git module. Here, you will move beyond add, commit, and push to master the tools that allow you to rewrite history, recover lost work, and debug complex regressions.
Module Contents
1. Interactive Rebase
Learn how to surgically alter your commit history. Squash work-in-progress commits, reorder features, and fix typos using git rebase -i. Includes an Interactive Rebase Simulator.
2. Rewriting History
Understand the differences between git reset (–soft, –mixed, –hard) and git revert. Learn when to rewrite history and when to preserve it. Includes a Reset Visualizer.
3. Reflog and Recovery
Discover Git’s safety net. Learn how to use git reflog to recover “lost” commits and restore deleted branches. Includes a Reflog Explorer.
4. Git Bisect
Stop linear debugging. Use binary search to find the exact commit that introduced a bug in seconds, not hours. Includes a Bisect Simulator.
Review: Advanced Git
Test your knowledge with interactive flashcards and a quick-reference cheat sheet.
Module Chapters
Interactive Rebase
Interactive Rebase
Start LearningRewriting History
Rewriting History
Start LearningReflog and Recovery
Reflog and Recovery
Start LearningGit Bisect
Git Bisect
Start LearningModule Review: Advanced Git
Module Review: Advanced Git
Start Learning