mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-31 01:41:27 +08:00
git-diff: fix typos and add Dutch translation (#17838)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# git diff
|
||||
|
||||
> Toon veranderingen in bijgehouden bestanden.
|
||||
> Meer informatie: <https://git-scm.com/docs/git-diff>.
|
||||
|
||||
- Toon niet-toegevoegde veranderingen:
|
||||
|
||||
`git diff`
|
||||
|
||||
- Toon alle niet-gecommitte (inclusief de toegevoegde) veranderingen:
|
||||
|
||||
`git diff HEAD`
|
||||
|
||||
- Toon alleen toegevoegde (nog niet gecommitte) veranderingen:
|
||||
|
||||
`git diff --staged`
|
||||
|
||||
- Toon veranderingen van alle commits sinds een bepaalde datum/tijd (een datumexpressie, b.v. "1 week 2 days" of een ISO-datum):
|
||||
|
||||
`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'`
|
||||
|
||||
- Toon diff-statistieken, zoals gewijzigde bestanden, histogram en het totale aantal ingevoegde/verwijderde regels:
|
||||
|
||||
`git diff --stat {{commit}}`
|
||||
|
||||
- Toon een samenvatting van aangemaakte bestanden, hernoemingen en moduswijzigingen sinds een bepaalde commit:
|
||||
|
||||
`git diff --summary {{commit}}`
|
||||
|
||||
- Vergelijk een bestand tussen twee branches of commits:
|
||||
|
||||
`git diff {{branch_1}}..{{branch_2}} {{pad/naar/bestand}}`
|
||||
|
||||
- Vergelijk verschillende bestanden van de huidige branch met een andere branch:
|
||||
|
||||
`git diff {{andere_branch}}:{{pad/naar/bestand2}} {{pad/naar/bestand1}}`
|
||||
@@ -31,6 +31,6 @@
|
||||
|
||||
`git diff {{branch_1}}..{{branch_2}} {{path/to/file}}`
|
||||
|
||||
- Compare different files from the current branch to other branch:
|
||||
- Compare different files from the current branch to another branch:
|
||||
|
||||
`git diff {{branch}}:{{path/to/file2}} {{path/to/file}}`
|
||||
`git diff {{other_branch}}:{{path/to/file2}} {{path/to/file1}}`
|
||||
|
||||
Reference in New Issue
Block a user