Rebase last N commits interactively
Squash, reorder or edit the last 5 commits
git rebase -i HEAD~5
- tool
- git45 commands
More git commands
-
git cherry-pick abc1234Apply one specific commit from another branch
-
git stash push -m "WIP: feature X"Save your current changes to the stash with a clear message
-
git stash listShow all stashed sets of changes
-
git stash apply stash@{2}Apply a specific stash entry and keep it in the list
-
git bisect start && git bisect bad && git bisect good v1.0Start a binary search between v1.0 and the current commit