Reflog — rescue lost commits git
Show recent HEAD movements including rebases and resets
git reflog show --date=relative | head -20
more git
all 45 commands →
Stash with message
git stash push -m 'WIP: feature-x' -u
Apply stash by index
git stash pop stash@{2}
Bisect — find broken commit
git bisect start && git bisect bad HEAD && git bisect good <good-sha>
Worktree — multiple branches
git worktree add ../feature-branch feature/my-feature
Submodule update
git submodule update --init --recursive