Git
![[Git] 특정 Branch명에서만 Git Clone하고 싶을 때?](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcBaZaf%2FbtrGQvE04ZF%2FgyfromBm3DT29AkL0DdDCK%2Fimg.png)
[Git] 특정 Branch명에서만 Git Clone하고 싶을 때?
특정 Branch명에서만 Git Clone하고 싶을 때 우리는 GIt 소스코드를 볼 때 모두 필요할 때도 있지만, 특정 Branch명에서 시작하고 싶을 때 있을 것이다. 예시) 우리는 main이 아니라 start-code라는 브랜치에서 소스코드를 GIt 명령어로 다운받고 싶을 때는, git clone -b start-code --single-branch [https://github.com/~] git clone -b [특정Branch명] --single-branch [https://github.com/~]