일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- MongoServerSelectionError
- Java 입력
- 설치형 SW
- char 입력
- 수직확장
- 리눅스
- 홈 디렉토리
- 지속적 전달
- ECS
- comdef
- 출력 명령어
- fastify
- cli
- c++
- docker context create
- dfs
- docker
- OpenSearch
- SSAFY입학
- 코드스테이츠
- 프로세스
- zshrc error
- 부트캠프
- 백준
- neofetch
- ci/cd
- mysql
- 웹 SW
- DevOps
- fastify-cli
Archives
- Today
- Total
목록clone (1)
다디와 괴발개발
[Github] git에서 특정 브랜치만 clone하는 방법
상황 Git clone을 하고싶은데 main이 아닌 다른 특정 브랜치를 clone 해오고싶어서 방법을 찾아봤다. 그냥 Git clone을 진행하면 main 브랜치가 클론되는데, 내가 clone해오고 싶은 브랜치는 master인 상황이었다. 해결 git clone -b 'branch name' --single-branch 'repository url' git clone -b master --single-branch 'repo url' 이렇게하면 master의 branch 내용만 클론 해올 수 있다
TroubleShooting
2022. 5. 8. 22:51