728x90
공식
git clone -b [브랜치이름] --single-branch [레포지토리 주소]
터미널에 브랜치이름에 해당 브랜치 이름을 레포지토리 주소에 해당 레포 주소를 적어주면 됩니다.
예시
git clone -b front --single-branch https://github.com/youngsoosoo/furry
해당 코드를 입력하면 해당 주소에 front 브랜치를 클론해줍니다.
728x90
'Git' 카테고리의 다른 글
Git 여러 Repository 로 push 하기 (0) | 2023.02.02 |
---|---|
yarn deploy 시 Failed to get remote.origin.url 해결하기 (0) | 2022.11.10 |