远程仓库操作配置-Git详解(9) 发表于 2017-07-10 | 分类于 学习笔记 , Git [remote]配置123[remote "upstream"] url = https://git.coding.net/cn-dream/test01.git fetch = +refs/heads/*:refs/remotes/upstream/* 使用1$ git remote add upstream https://git.coding.net/cn-dream/test01.git [branch]配置12$ git branch --set-upstream-to=origin/v0 v0$ git branch -u origin/v0 v0 参考: Git-内部原理-The-Refspec