Git rebase
合併分支並修改分支紀錄
merge 合併
git merge A分支 通常會產生一個commit ID
$ git merge A


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


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