I've accidentally unhitched my master branch from tracking origin master I think. It used to be that I could run git pull
and git push
and it would know that I meant git push origin master
but now it does not, and I think it's tracking a different branch because git push origin master
works fine (everything up to date) and git push
tells me it can't fast-forward changes.
Here's what my git branch -a
looks like:
ianstormtaylor:nib Storm$ git branch -a
* master
original
transforms
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/sizing
remotes/origin/transforms
Not sure if that remotes/origin/HEAD -> origin/master
is the part that is messed up.
I think this all resulted from a git merge origin sizing
call when i meant to do git merge sizing
(while on master).
Anyone know what's going on and is able to help? I'd just like to get back to the default remote-tracking setup that git clone
creates.