I have git vanilla with the default setting, version 1.7.1.
So, I do the following:
git branch local_only
git checkout local_only
git push
local_only does not exist on the remote control.
The team pushtakes a few seconds to complete it, and ultimately tells me "Everything is relevant." I would like to understand what is actually doing pushin this situation:
If git checks to see if a remote branch exists, why doesn't it return an error? OR
If git did not check if the remote branch exists or not, why does it take a few seconds and return a success response?
git branch -avv output:
* local_only ...commit...
master ...commit...
remotes/origin/master ...commit...
user972946
source
share