Daylogs/Git
Git: 특정 브랜치 클론하기
ohgyun
2014. 8. 2. 01:20
발생일: 2014.01.22
http://stackoverflow.com/questions/1911109/git-clone-a-specific-branch
키워드: 깃, git, clone branch
문제:
깃에서 리모트에 있는 특정 브랜치를 바로 로컬로 클론하려고 한다.
해결책:
git clone -b <branch> <remote_repo>
git clone -b my-branch git@github.com:user/myproject.git
반응형