Information Technology Reference
In-Depth Information
$ git help
$ git push
The other group, called
plumbing
, contains low-level commands. Here are some ex-
amples:
$ git receive-pack
$ git update-index
$ git upload-pack
By default, the command
$ git help
lists only porcelain commands. If you
want to the list plumbing commands as well as the porcelain commands, use
-a
switch
$ git help -a
.
You can access the documentation for a specific git subcommand using the follow-
ing syntax:
$ git help [COMMAND]
$ git [COMMAND] --help
Here are the commands to access the documentation of the
$ git commit
com-
mand:
$ git help commit
$ git commit --help
1-5. Configuring git
Problem
You want to configure git to be ready for work.
Solution
Run the following command:
$ git config --global user.name