What about the master branch for local git configuration in a git repository to make it track remote master branch?

What about the master branch for local git configuration in a git repository to make it track remote master branch?

asked Feb 9, 2015 by anonymous

1 Answer

You may append these lines to .git/config in your cloned repository directory:

[branch "master"]
	remote = origin
	merge = refs/heads/master
answered Feb 9, 2015 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...