git:: 특정 브랜치만 clone 하기



git clone -b {branch_name} --single-branch {git URL}
 
# example
# sub-branch 주소가 아래와 같다면
# https://github.com/containers/podman-compose/tree/stable
  

git clone -b stable --single-branch https://github.com/containers/podman-compose/ 



댓글 쓰기 · 수정

0 댓글