Skip to content

Commit 6e702c2

Browse files
chriscoolgitster
authored andcommitted
Documentation: tutorial: 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. Also add a few links to git-help(1) in "See also" sections. Signed-off-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b3d9888 commit 6e702c2

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

Documentation/gitcore-tutorial.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,6 +1693,7 @@ SEE ALSO
16931693
linkgit:gittutorial[7],
16941694
linkgit:gittutorial-2[7],
16951695
linkgit:gitcvs-migration[7],
1696+
linkgit:git-help[1],
16961697
link:everyday.html[Everyday git],
16971698
link:user-manual.html[The Git User's Manual]
16981699

Documentation/gittutorial-2.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ linkgit:gittutorial[7],
425425
linkgit:gitcvs-migration[7],
426426
linkgit:gitcore-tutorial[7],
427427
linkgit:gitglossary[7],
428+
linkgit:git-help[1],
428429
link:everyday.html[Everyday git],
429430
link:user-manual.html[The Git User's Manual]
430431

Documentation/gittutorial.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ First, note that you can get documentation for a command such as
2626
$ man git-log
2727
------------------------------------------------
2828

29+
or:
30+
31+
------------------------------------------------
32+
$ git help log
33+
------------------------------------------------
34+
35+
With the latter, you can use the manual viewer of your choice; see
36+
linkgit:git-help[1] for more information.
37+
2938
It is a good idea to introduce yourself to git with your name and
3039
public email address before doing any operation. The easiest
3140
way to do so is:
@@ -653,6 +662,7 @@ linkgit:gittutorial-2[7],
653662
linkgit:gitcvs-migration[7],
654663
linkgit:gitcore-tutorial[7],
655664
linkgit:gitglossary[7],
665+
linkgit:git-help[1],
656666
link:everyday.html[Everyday git],
657667
link:user-manual.html[The Git User's Manual]
658668

0 commit comments

Comments
 (0)