Re: git push default behaviour?
- From
Sebastien Douche <sdouche@gmail.com>
- Date
- Mar 17, 2012, 09:36 UTC
- Message-ID
- <CAAGHeXHWfEAym63jXFNvcBddp00joBzNuFEjhKZpqDQcn1d0kA@mail.gmail.com>
- In-Reply-To
- <CAFsnPqp1+jX3ZY0LZ1QDmvA=2_ebApPBttwFjr36OuTX2_MHug@mail.gmail.com>
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)
Show 5 quoted lines
> 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]
Moreover, most people I see don't understand the default behaviour: it's a frequently ask question by beginner.
[1] For git French : http://gitfr.net/blog [2] I recommend tracking
-- Sebastien Douche <sdouche@gmail.com> Twitter: @sdouche / G+: +sdouche