1.开发分支,多次提交
创建一个dev
分支,并且进行三次commit

git log
也显示了这三次提交
2. 切换回master,压缩dev
分支的3次commit
,并且合并


- dev分支的三个
commit
已经被合并为一个了
image
创建一个dev
分支,并且进行三次commit
git log
也显示了这三次提交dev
分支的3次commit
,并且合并commit
已经被合并为一个了本文标题:Git squash合并提交记录
本文链接:https://www.haomeiwen.com/subject/qeivcltx.html
网友评论