其他分享
首页 > 其他分享> > git切换远端仓库源

git切换远端仓库源

作者:互联网

使用以下命令添加upstream:

git remote add upstream https://code.cestc.cn/tian.long/syndesis.git

拉取远端upstream代码:

git fetch upstream master(具体分支)

拉取完之后会在git分支列表出现upstream/分支名的代码分支

标签:git,代码,拉取,切换,upstream,远端,分支
来源: https://www.cnblogs.com/beilong/p/15949173.html