Right, so I guess I'm saying that the default value for push.default should be upstream instead of matching... Best regards, Jeremy Morton (Jez) On Thu, Mar 8, 2012 at 10:11 AM, Thomas Rast <trast@xxxxxxxxxxx> wrote: > Jeremy Morton <jeremy@xxxxxxxxxxxx> writes: > >> I've noticed that the default behaviour of 'git push' is to push to >> *all* branches that have a remote branch set up. > [...] >> Wouldn't it be better for git's default push behaviour (at least with >> the '--force' option) to be just to push to the current branch in the >> current repo? To push to all branches you could have an >> '--allbranches' option. > > See push.default in git-config(1). > > -- > Thomas Rast > trast@{inf,student}.ethz.ch -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html