Merge pull request #12 from coderMR/fix_error

Update README.md
master
削微寒 2018-12-28 09:34:11 +08:00 committed by GitHub
commit bf6d9342d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ Git是一个“分布式版本管理工具”简单的理解版本管理工
* [列出所有远程分支](#列出所有远程分支)
* [列出本地和远程分支](#列出本地和远程分支)
* [创建并切换到本地分支](#创建并切换到本地分支)
* [创建并切换到远程分支](#创建并切换到远程分支)
* [从远程分支中创建并切换到本地分支](#从远程分支中创建并切换到本地分支)
* [删除本地分支](#删除本地分支)
* [删除远程分支](#删除远程分支)
* [重命名本地分支](#重命名本地分支)
@ -176,7 +176,7 @@ git branch -a
git checkout -b <branch-name>
```
## 创建并切换到远程分支
## 从远程分支中创建并切换到本地分支
```sh
git checkout -b <branch-name> origin/<branch-name>
```