git-squash
Combining multiple commits before pushing in Git [duplicate]
This question already has answers here: How do I squash my last N commits together? (43 answers) 开发者_StackOverflow[详细]
2023-03-25 07:45 分类:问答How do I squash my last N commits together?
How do I squash my last N commits together into one commit?开发者_如何转开发You can do this fairly easily without git rebase or git merge --squash. In this example, we\'ll squash the last 3 commits.[详细]
2023-02-15 05:13 分类:问答