Skip to content

Commit b3d9888

Browse files
chriscoolgitster
authored andcommitted
Documentation: user-manual: add information about "git help" at the beginning
Talking about "git help" is useful because it has a few more features (like when using it without arguments or with "-a") and it may work on non unix like platforms. Signed-off-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 83b7673 commit b3d9888

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Documentation/user-manual.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,22 @@ People needing to do actual development will also want to read
1818
Further chapters cover more specialized topics.
1919

2020
Comprehensive reference documentation is available through the man
21-
pages. For a command such as "git clone <repo>", just use
21+
pages, or linkgit:git-help[1] command. For example, for the command
22+
"git clone <repo>", you can either use:
2223

2324
------------------------------------------------
2425
$ man git-clone
2526
------------------------------------------------
2627

28+
or:
29+
30+
------------------------------------------------
31+
$ git help clone
32+
------------------------------------------------
33+
34+
With the latter, you can use the manual viewer of your choice; see
35+
linkgit:git-help[1] for more information.
36+
2737
See also <<git-quick-start>> for a brief overview of git commands,
2838
without any explanation.
2939

0 commit comments

Comments
 (0)