git: add more subcommand examples (#6763)

This commit is contained in:
Ray Voice
2021-11-11 00:50:18 +05:00
committed by GitHub
parent d3420e2dd1
commit 7618fef666

View File

@@ -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}}`