mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
b6d8887d3d
While 'git version' is probably the least complex git command, it is a non-experimental user-facing builtin command. As such it should have a help page. Both `git help` and `git version` can be called as options (`--help`/`--version`) that internally get converted to the corresponding command. Add a small paragraph to Documentation/git.txt describing how these two options interact with each other and link to this help page for the sub-options that `--version` can take. Well, currently there is only one sub-option, but that could potentially increase in future versions of Git. Signed-off-by: Matthias Aßhauer <mha1993@live.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
28 lines
532 B
Text
28 lines
532 B
Text
git-version(1)
|
|
==============
|
|
|
|
NAME
|
|
----
|
|
git-version - Display version information about Git
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'git version' [--build-options]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
With no options given, the version of 'git' is printed on the standard output.
|
|
|
|
Note that `git --version` is identical to `git version` because the
|
|
former is internally converted into the latter.
|
|
|
|
OPTIONS
|
|
-------
|
|
--build-options::
|
|
Include additional information about how git was built for diagnostic
|
|
purposes.
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[1] suite
|