I am having trouble understanding the concept of git local and remote versioning. For example I have a iPhone app in a local git rep. Initally this was my master branch. I then checked out a new branch git checkout -b "update-2.0.1".
Then I set git push origin update-2.0.1 to ensure that I have a seperate branch for developing this app update and when done merge it back into my master branch. Fine!
Now that I am on my update-branch I want to create branches for every issue ID. So I say git checkout -b "#3178" – when I now try to push this new issue-branch in my remote repository git says "Everything-up-to-date".
I don’t see why it is not possible to push this issue branch to the remote repository?
git remote -b returns
origin/master
origin/update-2.0.1
I would love to see a third branch
origin/update-2.0.1/#3178
The reason the new branch was not pushed into the remote repository was simply because I did not use the double quotes.
Also when renaming branches always use the double quotes – at least in my case it worked while not all code samples in the web use this syntax.