[git]本地分支关联远程分支
时间:2019-05-22 15:48:29
收藏:0
阅读:730
方法一:(已经创建了本地分支)
git branch --set-upstream-to=origin/remote_branch your_branch
等同于
git branch -u origin/remote_branch your_branch
方法二:(本地分支不存在)
git checkout -b your_branch origin/remote_branch
原文:https://www.cnblogs.com/lyraLee/p/10906058.html
评论(0)