- 使用git checkout branchname切换到对应的分支;
- 切换到提交多次版本的最后一次提交git reset --soft commit-id
- 使用git push -f强制push ,OK搞定收工
git合并多次提交到一次提交方法
猜你喜欢
转载自phncz310.iteye.com/blog/2283150
今日推荐
周排行