Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

9.5. git-checkout - Checkout and switch to a branch

9.5.1. checkout master
$ git-checkout master
Switched to branch "master"
			
9.5.2. checkout branch
$ git-branch
* master
  mybranch

$ git-checkout mybranch
Switched to branch "mybranch"

$ git-branch
  master
* mybranch