Signed-off-by: Johan Herland <johan@xxxxxxxxxxx> --- Documentation/git-config.txt | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 28e1861..154c80b 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -22,6 +22,7 @@ SYNOPSIS 'git config' [<file-option>] [-z|--null] -l | --list 'git config' [<file-option>] --get-color name [default] 'git config' [<file-option>] --get-colorbool name [stdout-is-tty] +'git config' [<file-option>] --rewrite-url url DESCRIPTION ----------- @@ -157,6 +158,15 @@ See also <<FILES>>. output. The optional `default` parameter is used instead, if there is no color configured for `name`. +--rewrite-url url:: + + Rewrite `url` according to the longest matching URL rewriting rule + (see documentation on `url.<base>.insteadOf` for more information + on URL rewriting rules), and output the resulting URL to the + standard output. If there is no matching URL rewriting rule, the + original `url` is printed on the standard output. In either case, + the exit code is 0. + [[FILES]] FILES ----- -- 1.6.0.rc1.34.g0fe8c -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html