add new chinese translations
This commit is contained in:
24
pages.zh/common/git-svn.md
Normal file
24
pages.zh/common/git-svn.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# git svn
|
||||
|
||||
> 在 Subversion 仓库和 Git 之间进行双向操作。
|
||||
> 更多信息:<https://git-scm.com/docs/git-svn>。
|
||||
|
||||
- 克隆一个 SVN 仓库:
|
||||
|
||||
`git svn clone {{https://example.com/subversion_repo}} {{local_dir}}`
|
||||
|
||||
- 从给定修订号开始克隆一个 SVN 仓库:
|
||||
|
||||
`git svn clone {{-r|--revision}} {{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}`
|
||||
|
||||
- 从远程 SVN 仓库更新本地克隆:
|
||||
|
||||
`git svn rebase`
|
||||
|
||||
- 从远程 SVN 仓库获取更新而不改变 Git HEAD:
|
||||
|
||||
`git svn fetch`
|
||||
|
||||
- 提交回 SVN 仓库:
|
||||
|
||||
`git svn commit`
|
Reference in New Issue
Block a user