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

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

182.5.1. checkout master

$ git-checkout master
Switched to branch "master"
			

182.5.2. checkout branch

$ git-branch
* master
  mybranch

$ git-checkout mybranch
Switched to branch "mybranch"

$ git-branch
  master
* mybranch
			
comments powered by Disqus