1. 说明 开发时远程代码库更新了新分支,本地需要同步新分支 2. 步骤 假设远程新分支名字为test 1. 拉取远程分支 git fecth origin test 2. 同步本地分支 git checkout -b test origin/test