Git rebase

合併分支並修改分支紀錄

merge 合併

git merge A分支 通常會產生一個commit ID

$ git merge A
circle-info

merge 完 會新增加一個節點 Merge branch 'third' into dev

rebase 合併

git rebase A 分支 會複製分支到現有分支上

sourcetree rebase

circle-info

現有分支dev 對third 使用rebase合併

會複製原來的分支上
triangle-exclamation

Last updated

Was this helpful?