File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ git-version(1)
2
+ ==============
3
+
4
+ NAME
5
+ ----
6
+ git-version - Display version information about Git
7
+
8
+ SYNOPSIS
9
+ --------
10
+ [verse]
11
+ 'git version' [--build-options]
12
+
13
+ DESCRIPTION
14
+ -----------
15
+ With no options given, the version of 'git' is printed on the standard output.
16
+
17
+ Note that `git --version` is identical to `git version` because the
18
+ former is internally converted into the latter.
19
+
20
+ OPTIONS
21
+ -------
22
+ --build-options::
23
+ Include additional information about how git was built for diagnostic
24
+ purposes.
25
+
26
+ GIT
27
+ ---
28
+ Part of the linkgit:git[1] suite
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ OPTIONS
41
41
-------
42
42
--version::
43
43
Prints the Git suite version that the 'git' program came from.
44
+ +
45
+ This option is internaly converted to `git version ...` and accepts
46
+ the same options as the linkgit:git-version[1] command. If `--help` is
47
+ also given, it takes precedence over `--version`.
44
48
45
49
--help::
46
50
Prints the synopsis and a list of the most commonly used
You can’t perform that action at this time.
0 commit comments