git 将多个commit合并为1个commit
2020-02-26 本文已影响0人
谢昆明
分支topical_xFeature实现了一个功能,有10个提交,这时候只想合并为1个提交,并提交到master分支上
git checkout master
git merge --squash topical_xFeature
git commit
打赏
如果这篇文章解决了您的问题,让我买根烟抽抽。
支付宝.jpg
微信.jpg
分支topical_xFeature实现了一个功能,有10个提交,这时候只想合并为1个提交,并提交到master分支上
git checkout master
git merge --squash topical_xFeature
git commit
如果这篇文章解决了您的问题,让我买根烟抽抽。
支付宝.jpg
微信.jpg