Re: Please discuss: what "git push" should do when you do not say what to push?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/17/2012 11:43 AM, fREW Schmidt wrote:
> On Sat, Mar 17, 2012 at 12:10 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
>>
>> There is a proposal to change the default behaviour of 'git push' on the
>> Git mailing list. The goal of this message is to encourage you to discuss
>> it before it happens (or the change is aborted, depending on the outcome
>> of the discussion).
> 
> I personally much prefer the one where it pushes the current branch to
> its tracking branch only.  That leaves very little room for surprises
> and mistakes (the one exception being git push after git checkout -b
> new-branch origin/master.)
> 

I would agree with this being the least surprising behavior.  I believe
this is what push.default = upstream does.

	-hpa

--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]