mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
git-revert: add Dutch translation, fix placeholders (#21196)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# git revert
|
||||
|
||||
> Maak nieuwe commits aan die eerdere commits ongedaan maken.
|
||||
> Meer informatie: <https://git-scm.com/docs/git-revert>.
|
||||
|
||||
- Maak de laatste commit ongedaan:
|
||||
|
||||
`git revert HEAD`
|
||||
|
||||
- Maak de vijfde laatste commit ongedaan:
|
||||
|
||||
`git revert HEAD~4`
|
||||
|
||||
- Maak een specifieke commit ongedaan:
|
||||
|
||||
`git revert {{0c01a9}}`
|
||||
|
||||
- Maak meerdere commits ongedaan:
|
||||
|
||||
`git revert {{branch_naam~5}}..{{branch_naam~2}}`
|
||||
|
||||
- Maak geen nieuwe commits aan, pas alleen de working tree aan:
|
||||
|
||||
`git revert {{[-n|--no-commit]}} {{0c01a9}}..{{9a1743}}`
|
||||
|
||||
- Annuleer een Git revert na een merge conflict:
|
||||
|
||||
`git revert --abort`
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
- Revert the most recent commit:
|
||||
|
||||
`git revert {{HEAD}}`
|
||||
`git revert HEAD`
|
||||
|
||||
- Revert the 5th last commit:
|
||||
|
||||
`git revert HEAD~{{4}}`
|
||||
`git revert HEAD~4`
|
||||
|
||||
- Revert a specific commit:
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
|
||||
- Revert multiple commits:
|
||||
|
||||
`git revert {{branch_name~5..branch_name~2}}`
|
||||
`git revert {{branch_name~5}}..{{branch_name~2}}`
|
||||
|
||||
- Don't create new commits, just change the working tree:
|
||||
|
||||
`git revert {{[-n|--no-commit]}} {{0c01a9..9a1743}}`
|
||||
`git revert {{[-n|--no-commit]}} {{0c01a9}}..{{9a1743}}`
|
||||
|
||||
- Cancel a Git revert after a merge conflict:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user