If I make a new branch off of the master and want to be pulling updates from the remote master and not the remote new branch, how do I set that?
Asked
Active
Viewed 43 times
1
-
1Possible duplicate of [How do I change the remote a git branch is tracking?](http://stackoverflow.com/questions/4878249/how-do-i-change-the-remote-a-git-branch-is-tracking) – gdziadkiewicz Aug 05 '16 at 19:51
2 Answers
0
This should do the job.
git branch branch_name -u your_new_remote/branch_name
Jonathan Leffler
- 698,132
- 130
- 858
- 1,229
Niranjan Gattupalli
- 342
- 1
- 1