补充分支重命名.

Signed-off-by: lion.chan <cy187lion@sina.com>
This commit is contained in:
lion.chan 2021-09-25 09:51:26 +08:00
parent 0834154566
commit 1ef43b4689
1 changed files with 6 additions and 0 deletions

View File

@ -168,6 +168,12 @@ git branch -a
git checkout <branch>
```
使用以下命令修改分支名称:
```bash
git branch -m <old name> <new name>
```
推送本地指定分支到远程指定分支,如果远程分支不存在则创建:
```bash