[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
overboard.
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
example.
--
David Kastrup
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, (continued)
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Lars Ingebrigtsen, 2015/01/28
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Eli Zaretskii, 2015/01/28
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Andreas Schwab, 2015/01/28
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Yuri Khan, 2015/01/28
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Eli Zaretskii, 2015/01/28
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Yuri Khan, 2015/01/28
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Eli Zaretskii, 2015/01/28
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Yuri Khan, 2015/01/28
- git push precautions, Ivan Shmakov, 2015/01/28
- Re: git push precautions, Eli Zaretskii, 2015/01/28
- Re: git push precautions,
David Kastrup <=
- Re: git push precautions, Kelvin White, 2015/01/28
- Re: git push precautions, Ivan Shmakov, 2015/01/28
- Re: git push precautions, Eli Zaretskii, 2015/01/28
- Re: git push precautions, David Kastrup, 2015/01/28
- Re: git push precautions, Yuri Khan, 2015/01/29
- Re: git push precautions, Eli Zaretskii, 2015/01/29
- Re: git push precautions, Paul Eggert, 2015/01/29
- Re: git push precautions, Eli Zaretskii, 2015/01/29
- Re: git push precautions, Ivan Shmakov, 2015/01/29
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Eli Zaretskii, 2015/01/28