]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Document `rebase.forkpoint` in rebase man page
authorWesley Schwengle <wesley@opperschaap.net>
Thu, 16 Sep 2021 22:46:03 +0000 (18:46 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 16:05:48 +0000 (09:05 -0700)
The configuration option `rebase.forkpoint' is only mentioned in the man
page of git-config(1). Since it is a configuration for rebase, mention
it in the documentation of rebase at the --fork-point/--no-fork-point
section. This will help users set a preferred default for their
workflow.

Signed-off-by: Wesley Schwengle <wesley@opperschaap.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rebase.txt

index 55af6fd24e27cd13ff93f7188dbd403e0cc7aeb6..2c8558d98c658bf5741fbc8bd27fb456ceb1221a 100644 (file)
@@ -445,7 +445,8 @@ When --fork-point is active, 'fork_point' will be used instead of
 ends up being empty, the <upstream> will be used as a fallback.
 +
 If <upstream> is given on the command line, then the default is
-`--no-fork-point`, otherwise the default is `--fork-point`.
+`--no-fork-point`, otherwise the default is `--fork-point`. See also
+`rebase.forkpoint` in linkgit:git-config[1].
 +
 If your branch was based on <upstream> but <upstream> was rewound and
 your branch contains commits which were dropped, this option can be used