개발관련/형상관리
[Git] 깃 원하는 브런치(branch)만 clone 해오기
90만식
2022. 12. 22. 16:49
728x90
깃(Git)에서 원하는 브런치(branch)만 clone 하기
git clone -b {branch_name} --single-branch {저장소 URL}
만약 위 사진의 step1의 브런치를 clone하고 싶다면 아래와 같이 작성하면 된다.
git clone -b step1 --single-branch https://github.com/90mansik/infra-subway-performance.git
728x90