Make an existing Git branch track a remote branch?
Asked 07 September, 2021
Viewed 3K times
  • 58
Votes

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 .git/config file, but it seems there should be an easier way.

22 Answer