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]
网友评论