Skip to content

Local Tracking Branch

brockhaus edited this page Feb 3, 2012 · 2 revisions

If you setup a local git repository on base of this repo, you will get a local master branch tracking origin/master. If you push from local master it will change origin/master

You can produce this for any other remote branch, too. If you want to have such a local branch for origin/1.6 you can produce this simply by executing

git checkout -b 1.6 origin/1.6

Pushing the local 1.6 branch will update origin/1.6