pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help * git: add newline to the end Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * pages*: make help and version commands comply with the style guide * java: fix Java name --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
@@ -4,18 +4,6 @@
|
||||
> Some subcommands such as `commit`, `add`, `branch`, `checkout`, `push`, etc. have their own usage documentation.
|
||||
> More information: <https://git-scm.com/>.
|
||||
|
||||
- Check the Git version:
|
||||
|
||||
`git --version`
|
||||
|
||||
- Show general help:
|
||||
|
||||
`git --help`
|
||||
|
||||
- Display help on a Git subcommand (like `clone`, `add`, `push`, `log`, etc.):
|
||||
|
||||
`git help {{subcommand}}`
|
||||
|
||||
- Execute a Git subcommand:
|
||||
|
||||
`git {{subcommand}}`
|
||||
@@ -27,3 +15,15 @@
|
||||
- Execute a Git subcommand with a given configuration set:
|
||||
|
||||
`git -c '{{config.key}}={{value}}' {{subcommand}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`git --help`
|
||||
|
||||
- Display help for a specific subcommand (like `clone`, `add`, `push`, `log`, etc.):
|
||||
|
||||
`git help {{subcommand}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`git --version`
|
||||
|
Reference in New Issue
Block a user