I know how to make a new branch that tracks remote branches, but how do I make an existing branch track a remote branch?
I know I can just edit the
In very short
git branch --set-upstream yourLocalBranchName origin/develop
This will make your yourLocalBranchName track the remote branch called develop.
yourLocalBranchName
develop