1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-03 08:53:25 +02:00

git-mv: update page and add Dutch translation (#17846)

This commit is contained in:
Dylan 2025-08-26 12:09:03 +00:00 committed by GitHub
parent 03589efcfb
commit c8f6fe888f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 1 deletions

16
pages.nl/common/git-mv.md Normal file
View file

@ -0,0 +1,16 @@
# git mv
> Verplaats of hernoem bestanden en update de Git-index.
> Meer informatie: <https://git-scm.com/docs/git-mv>.
- Verplaats een bestand binnen de repository en voeg de verplaatsing toe aan de volgende commit:
`git mv {{pad/naar/bestand}} {{pad/naar/bestemming}}`
- Hernoem een bestand of map en voeg de hernoeming toe aan de volgende commit:
`git mv {{pad/naar/bestand_of_map}} {{pad/naar/bestemming}}`
- Overschrijf het bestand of de map op het doelpad als het bestaat:
`git mv {{[-f|--force]}} {{pad/naar/bestand_of_map}} {{pad/naar/bestemming}}`

View file

@ -5,7 +5,7 @@
- Move a file inside the repo and add the movement to the next commit:
`git mv {{path/to/file}} {{new/path/to/file}}`
`git mv {{path/to/file}} {{path/to/destination}}`
- Rename a file or directory and add the renaming to the next commit: