1. 添加远端仓库
git remote add [name of repo] [link of git]
然后可以通过git remote -v查看添加的仓库。
2. 拉回代码
git fetch [name of repo]
3. 建立本地分支
git checkout -b [name of branch] [name of repo]/[branch of repo]
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/208974.html原文链接:https://javaforall.net
