美文网首页
Git checkout remote branch

Git checkout remote branch

作者: XBruce | 来源:发表于2021-05-08 09:51 被阅读0次
git checkout --track -b [LOCAL_BRANCH_NAME] origin/[REMOTE_BRANCH_NAME]

List all branches in the remote git.

git branch -a

List all remote repo.

git remote -v

Specify origin to remote

git remote add origin  [https://bitbucket.org/xxx/test.git]

相关文章

网友评论

      本文标题:Git checkout remote branch

      本文链接:https://www.haomeiwen.com/subject/qnzydltx.html