May 7, 2013

Create/Push/Track new branch in git

Create New branch : git checkout -b your_branch
Push and track new branch you just created, git push -u origin your_branch
Now if you check your git configuration file you should see: 
[branch "your_branch"] remote = origin merge = refs/heads/your_branch