What is the git command equivalent of this Visual Studio check box?
I though it is git checkout --track
but the label suggests domething diffrent.
What is the git command equivalent of this Visual Studio check box?
I though it is git checkout --track
but the label suggests domething diffrent.
Run git branch -u origin/master
after running git checkout -b
The full command is git branch --set-upstream-to origin/master
.
See also:
If I am understanding it correctly, you are trying to checkout a branch other than master. For that the command should be - git checkout [branchName]