1. 說明
開發(fā)時遠(yuǎn)程代碼庫更新了新分支,本地需要同步新分支
2. 步驟
假設(shè)遠(yuǎn)程新分支名字為test
1. 拉取遠(yuǎn)程分支
git fecth origin test
2. 同步本地分支
git checkout -b test origin/test
開發(fā)時遠(yuǎn)程代碼庫更新了新分支,本地需要同步新分支
假設(shè)遠(yuǎn)程新分支名字為test
git fecth origin test
git checkout -b test origin/test