add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

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

@@ -0,0 +1,16 @@
# git mv
> 移动或重命名文件并更新 Git 索引。
> 更多信息:<https://git-scm.com/docs/git-mv>。
- 在仓库内移动文件,并将此操作添加到下一个提交:
`git mv {{path/to/file}} {{new/path/to/file}}`
- 重命名文件或目录,并将此操作添加到下一个提交:
`git mv {{path/to/file_or_directory}} {{path/to/destination}}`
- 如果目标路径中存在文件或目录,则覆盖它:
`git mv --force {{path/to/file_or_directory}} {{path/to/destination}}`