Re: git push default behaviour?
- From
- Jeremy Morton <jeremy@configit.com>
- Date
- Mar 17, 2012, 09:38 UTC
- Message-ID
- <CAFsnPqpS7srjHu1Wnx60qcwN_PV83uxvtWoniFBgRH2MjJzzzA@mail.gmail.com>
- In-Reply-To
- <CAAGHeXHWfEAym63jXFNvcBddp00joBzNuFEjhKZpqDQcn1d0kA@mail.gmail.com>
On Sat, Mar 17, 2012 at 9:36 AM, Sebastien Douche <sdouche@gmail.com> wrote:
Show 16 quoted lines
> On Thu, Mar 8, 2012 at 11:01, Jeremy Morton <jeremy@configit.com> wrote: >> Hi everyone, > > Hi Jeremy (sorry to be late, back from holiday) > >> I've noticed that the default behaviour of 'git push' is to push to >> *all* branches that have a remote branch set up. In order to push >> just to one branch, you must specify 'git push repo branchname'. >> >> This seems rather unintuative to me > > I made many Git presentation and managed a lot of training[1] and the > first thing I explain on the configuration is : > > 1. set your name and email > 2. change the default push option[2]
So, that would seem to be a rather strong indication that the default push option is a bad one. :-)
Best regards, Jeremy Morton (Jez)