Git:将完整的回购与另一个合并
这个问题在这里已经有了答案:
克隆存储库
git clone git@itpsmgit1.magnetimarelli.com:tegra/repo_dir
创建一个本地分支来跟踪远程新创建的分支
git branch usrname_activity_dev --track origin/new_remote_branch
结帐这个地方分支
git checkout usrname_activity_dev
从远程回购拉
git pull
您将拥有远程的所有内容:分支,标签等
链接地址: http://www.djcxy.com/p/18063.html