Git squash
P -> Q -> R
\
.--> X -> Y
P -> Q -> R
\
.--> Z
https://github.com/servo/servo/wiki/Beginner's-guide-to-rebasing-and-squashing
- git rebase -i
- Change pick to squash for some commits which want to squash. Save and quit.
- Change a new message commit for squashing. Save and quit.
- git push --force
Comments
Post a Comment