Home | Mirror | Search

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

5.1. checkout master

$ git-checkout master
Switched to branch "master"
				

5.2. checkout branch

$ git-branch
* master
  mybranch

$ git-checkout mybranch
Switched to branch "mybranch"

$ git-branch
  master
* mybranch
				
comments powered by Disqus