git: add more subcommand examples (#6763)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# git
|
||||
|
||||
> Distributed version control system.
|
||||
> Some subcommands such as `git commit` have their own usage documentation.
|
||||
> Some subcommands such as `commit`, `add`, `branch`, `checkout`, `push`, etc. have their own usage documentation, accessible via `tldr git subcommand`.
|
||||
> More information: <https://git-scm.com/>.
|
||||
|
||||
- Check the Git version:
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
`git --help`
|
||||
|
||||
- Show help on a Git subcommand (like `commit`, `log`, etc.):
|
||||
- Show help on a Git subcommand (like `clone`, `add`, `push`, `log`, etc.):
|
||||
|
||||
`git help {{subcommand}}`
|
||||
|
||||
|
Reference in New Issue
Block a user