feat: add nginx.md cheatsheet.

This commit is contained in:
jaywcjlove
2022-10-08 03:18:36 +08:00
parent f1d7c9e585
commit c221cd1ac3
5 changed files with 824 additions and 20 deletions

View File

@ -328,25 +328,21 @@ Git 技巧
### 重命名分支
#### **重命名**为`new`
```shell
$ git branch -m <new>
$ git branch -m <old> <new> # 重命名分支
```
#### **推送**并重置
```shell
$ git push origin -u <new>
```
#### **删除**远程分支
```shell
$ git push origin --delete <old> # 方法1
$ git push origin :oldBranchName # 方法2
```
- **重命名**为`new`
```shell
$ git branch -m <new>
$ git branch -m <old> <new> #重命名分支
```
- **推送**并重置
```shell
$ git push origin -u <new>
```
- **删除**远程分支
```shell
$ git push origin --delete <old> #方法1
$ git push origin :oldBranchName #方法2
```
<!--rehype:className=style-timeline-->
### Log