合併分支並修改分支紀錄
Last updated 3 years ago
Was this helpful?
git merge A分支 通常會產生一個commit ID
$ git merge A
merge 完 會新增加一個節點 Merge branch 'third' into dev
git rebase A 分支 會複製分支到現有分支上
$ git rebase A
現有分支dev 對third 使用rebase合併
不要對已經推出去的分支去做 rebase ,以免造成別人的困擾
使用時機:整理自己的分支使用