Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
git
/
Interactive rebase last N commits
Interactive rebase last N commits
git
Interactively reorder, squash, or edit last 5 commits
git rebase -i HEAD~5
⎘ copy
#git
#rebase
#history
more git
all 45 commands →
Cherry-pick a commit
git cherry-pick abc1234
Stash with message
git stash push -m "WIP: feature X"
Show stash list
git stash list
Apply stash by index
git stash apply stash@{2}
Find which commit introduced a bug
git bisect start && git bisect bad && git bisect good v1.0