자주 안 쓰니깐 가끔 찾아야 해서...
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/
_
반응형