]> git.ipfire.org Git - thirdparty/git.git/commit
push doc: document the DWYM behavior pushing to unqualified <dst>
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 13 Nov 2018 19:52:45 +0000 (19:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2018 06:27:56 +0000 (15:27 +0900)
commit2219c09e23c39aed7c869c1f4dda28aec46da984
treeb90be899ea7c9fd01bf7a23fae593d7b16a7f8ff
parentbf70636fd7b9014e7320260b0221c84061447917
push doc: document the DWYM behavior pushing to unqualified <dst>

Document the DWYM behavior that kicks in when pushing to an
unqualified <dst> reference.

This behavior was added in f88395ac23 ("Renaming push.", 2005-08-03)
and f8aae12034 ("push: allow unqualified dest refspecs to DWIM",
2008-04-23), and somewhat documented in bb9fca80ce ("git-push: Update
description of refspecs and add examples", 2007-06-09), but has never
been fully documented.

The closest we got to having documented it was the description in the
commit message for f8aae12034, which I've borrowed from in writing
this documentation.

Let's also refer to this new documentation from the existing
documentation we had (added in bb9fca80ce).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-push.txt