Git
![[Git] 특정 Branch명에서만 Git Clone하고 싶을 때?](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FcBaZaf%2FbtrGQvE04ZF%2FAAAAAAAAAAAAAAAAAAAAAHWvNTXcqILj_4J1q-iHP46XP2oUU8ZsaCgMMj0F4vZA%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3D2l4sB9ncHBl6pWFD163kLJ897F4%253D)
[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/~]