Interactive rebase last N commits
Interactively reorder, squash, or edit last 5 commits
git rebase -i HEAD~5
- tool
- git45 commands
More git commands
-
git cherry-pick abc1234Apply a specific commit from another branch
-
git stash push -m "WIP: feature X"Save working changes with a descriptive stash message
-
git stash listShow all stashed changesets
-
git stash apply stash@{2}Apply a specific stash entry without dropping it
-
git bisect start && git bisect bad && git bisect good v1.0Start binary search for the commit that introduced a bug