Git
Git - branch 목록보기, branch 변경하기
G4.
2016. 12. 19. 15:55
Local에 있는 branch 목록보기
git branch -l
Remote에 있는 branch 목록보기
git branch -r
Local, Remote에 있는 모든 branch 목록보기
git branch -a
branch 변경하기
git checkout <branch>
예시
$ git checkout test
Switched to branch 'test'
$ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.