gitCommandTest
git rebase -i [startpoint] [endpoint]
pick: 保留commit(缩写p) squash: 将对应的commit 和前一个commit 合并
在分支中使用上面命令先合并commit, 然后切换到master中执行跟以前合并一样的步骤
参考文献URL: https://juejin.cn/post/6844903600976576519 (使用git rebase合并多次commit)
gitCommandTest
git rebase -i [startpoint] [endpoint]
pick: 保留commit(缩写p) squash: 将对应的commit 和前一个commit 合并
在分支中使用上面命令先合并commit, 然后切换到master中执行跟以前合并一样的步骤
参考文献URL: https://juejin.cn/post/6844903600976576519 (使用git rebase合并多次commit)