1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages.nl/common/git.md
2020-10-12 18:03:33 -03:00

28 lines
555 B
Markdown

# git
> Gedistribueerd versiebeheersysteem.
> Meer informatie: <https://git-scm.com/>.
- Controleer de Git versie:
`git --version`
- Toon algemene hulp:
`git --help`
- Toon hulp bij een Git-subcommando (zoals `commit`, `log`, enz.):
`git help {{subcommando}}`
- Voer een Git-subcommando uit:
`git {{subcommando}}`
- Voer een Git-subcommando uit op een aangepast repository-rootpad:
`git -C {{pad/naar/repo}} {{subcommando}}`
- Voer een Git-subcommando met een gegeven configuratieset:
`git -c '{{config.sleutel}}={{waarde}}' {{subcommando}}`