Home | 簡體中文 | 繁體中文 | 雜文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | Email

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

7.5.1. checkout master

$ git-checkout master
Switched to branch "master"
			

7.5.2. checkout branch

$ git-branch
* master
  mybranch

$ git-checkout mybranch
Switched to branch "mybranch"

$ git-branch
  master
* mybranch
			
comments powered by Disqus