Skip to content

Commit cee2f20

Browse files
committed
more preformatted text in ch1
1 parent b9ecf3b commit cee2f20

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

book/01-introduction/sections/help.asc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@
33

44
If you ever need help while using Git, there are three ways to get the manual page (manpage) help for any of the Git commands:
55

6-
$ git help <verb>
7-
$ git <verb> --help
8-
$ man git-<verb>
6+
[source,console]
7+
----
8+
$ git help <verb>
9+
$ git <verb> --help
10+
$ man git-<verb>
11+
----
912

1013
For example, you can get the manpage help for the config command by running(((git commands, help)))
1114

12-
$ git help config
15+
[source,console]
16+
----
17+
$ git help config
18+
----
1319

1420
These commands are nice because you can access them anywhere, even offline.
1521
If the manpages and this book aren't enough and you need in-person help, you can try the `#git` or `#github` channel on the Freenode IRC server (irc.freenode.net).

0 commit comments

Comments
 (0)