[Top][All Lists]

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

Re: git push precautions

From: David Kastrup
Subject: Re: git push precautions
Date: Wed, 28 Jan 2015 19:52:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Ivan Shmakov <address@hidden>
>> Date: Wed, 28 Jan 2015 18:30:57 +0000
>>      My preference is rather ‘push.default nothing’, so that
>>      git-push(1) fails loudly should I fail to specify what to push.
> IMO (and IME) that's a nuisance that isn't justified.

git's defaults have historically been so unreasonable that I never push
without explicit mention of both local as well as target reference.  It
decidedly is less of a nuisance than having to clean up after Git goes

Nowadays the defaults may be saner (and the setting configurable in the
first place).  Still, the "nuisance" is comparatively small, and in
exchange you know just what _any_ version of Git will do.  And if you
quote your process, nobody will get double-crossed by following your

David Kastrup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]