On Fri, Apr 13, 2012 at 4:47 PM, THUFIR HAWAT <hawat.thu...@gmail.com> wrote:
> I find this terminology confusing. Doesn't the master contain the branch?
> So, why can't I push a branch against the master? If I've checked out
> branch x, the push will be applied to that branch, I would expect.
You're not the only one who expects that, which is why the default
will be changing in the very near future so that it behaves that way.
(The issue has been discussed recently on the main git mailing list,
For now, the default meaning of 'git push' is to push all branches
that exist both locally and on the remote. If you want it to instead
push the current branch to a branch of the same name on the remote,
run "git config --global push.default current".
Gehm's Corollary to Clark's Law: Any technology distinguishable from
magic is insufficiently advanced.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at