]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/fetch-options.txt
fetch: document local ref updates with/without --force
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 31 Aug 2018 20:10:03 +0000 (20:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Aug 2018 21:04:06 +0000 (14:04 -0700)
commitae6a470334d7d0e086e289f0c7e492e3366b66aa
treeadd6eb6f7749b76dd8d5056f7ef49ebb92aab79d
parentfe802bd21e81cceedff2db79cc3c9a5ad75b4f93
fetch: document local ref updates with/without --force

Refer to the new git-push(1) documentation about when ref updates are
and aren't allowed with and without --force, noting how "git-fetch"
differs from the behavior of "git-push".

Perhaps it would be better to split this all out into a new
gitrefspecs(7) man page, or present this information using tables.

In lieu of that, this is accurate, and fixes a big omission in the
existing refspec docs.

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