add new chinese translations
This commit is contained in:
13
pages.zh/common/git-merge-repo.md
Normal file
13
pages.zh/common/git-merge-repo.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# git 合并仓库
|
||||
|
||||
> 合并两个仓库的历史。
|
||||
> 是 `git-extras` 的一部分。
|
||||
> 更多信息:<https://github.com/tj/git-extras/blob/master/Commands.md#git-merge-repo>。
|
||||
|
||||
- 将一个仓库的分支合并到当前仓库的目录中:
|
||||
|
||||
`git merge-repo {{path/to/repo}} {{branch_name}} {{path/to/directory}}`
|
||||
|
||||
- 将一个远程仓库的分支合并到当前仓库的目录中,不保留历史:
|
||||
|
||||
`git merge-repo {{path/to/remote_repo}} {{branch_name}} .`
|
Reference in New Issue
Block a user