Text 7 Nov 358 notes Setting remotes/origin/HEAD to origin/master

Probably you want to track a new branch locally based on a remote. Just something like:

git branch --track <new-branch> <remote-branch>
Be careful because if you’has selected a remote branch like HEAD, probably you lost the link to master branch. If you want to restart this, you should type:
git remote set-head origin master

  1. rabarroso posted this

Design crafted by Prashanth Kamalakanthan. Powered by Tumblr.