aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-23 13:44:49 -0700
committerJunio C Hamano <gitster@pobox.com>2021-09-23 13:44:49 -0700
commit188da7dc094e5930d1b83c5d97f8c70c926984eb (patch)
treedb25f6a0742bba5c83a026ec849db7ac354a544a /Documentation/git.txt
parentbd42622e5f3ea4a5b1f5fd69174bc7914d00ea3e (diff)
parentb6d8887d3d607e0da971218f20428c0635c6362c (diff)
downloadgit-188da7dc094e5930d1b83c5d97f8c70c926984eb.tar.gz
Merge branch 'ma/doc-git-version'
Doc update. * ma/doc-git-version: documentation: add documentation for 'git version'
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r--Documentation/git.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index e4b82599fc..abace9eac2 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -41,6 +41,10 @@ OPTIONS
-------
--version::
Prints the Git suite version that the 'git' program came from.
++
+This option is internaly converted to `git version ...` and accepts
+the same options as the linkgit:git-version[1] command. If `--help` is
+also given, it takes precedence over `--version`.
--help::
Prints the synopsis and a list of the most commonly used