34
I have three local and three remote branches and want to be on the same branch on both.
On local:
git branch
A
* B
master
git branch -r
origin/A
origin/B
origin/master
On remote:
git branch
A
B
* master
I am able to commit, push and pull B, but my update hook deploys master instead of B. I suppose because the remote branch is still set to master. I created branch B using:
git branch B
git checkout B
git push origin B