git clone시 master만 가져오게 되는데, 다른 브랜치의 프로젝트를 가져오는 방법이다.
git remote update
git checkout -t origin/[가져올브랜치명]
728x90
'Git' 카테고리의 다른 글
[git] 브랜치 간 특정 파일 머지 하기 (0) | 2023.01.23 |
---|---|
[git] 리모트 저장소와 브랜치 최신화 하기 (0) | 2021.12.03 |
[error] Pulling is not possible because you have unmerged files. (0) | 2021.08.26 |
[error] The project you were looking for could not be found or you don't have permission to view it. (0) | 2021.08.07 |
[error]This is probably not a problem with npm. There is likely additional logging output above. (0) | 2021.03.08 |