git-rename-branch: add Chinese translation (#6987)
This commit is contained in:
13
pages.zh/common/git-rename-branch.md
Normal file
13
pages.zh/common/git-rename-branch.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# git rename-branch
|
||||
|
||||
> 重新命名一个 Git 分支。
|
||||
> 属于 `git-extras` 的一部分。
|
||||
> 更多信息:<https://github.com/tj/git-extras/blob/master/Commands.md#git-rename-branch>.
|
||||
|
||||
- 重新命名你目前所在的分支:
|
||||
|
||||
`git rename-branch {{新的分支名称}}`
|
||||
|
||||
- 重新命名一个特定的分支:
|
||||
|
||||
`git rename-branch {{旧的分支名称}} {{新的分支名称}}`
|
Reference in New Issue
Block a user