git clone 일부1 [Git] Git 저장소에서 특정 폴더만 가져오기 - Git 2.25 이하(구버전)의 sparse-checkout 방식 📋 Git 2.25 이하: 특정 폴더만 sparse-checkout으로 가져오기 (Deprecated 방식)✅ Git 2.25 이전에는 git sparse-checkout set 명령어가 없었기 때문에,.git/info/sparse-checkout 파일을 수동으로 작성하는 방식으로 특정 폴더만 가져왔습니다.이 방식은 현재는 Deprecated 되었지만, 구버전 호환성이나 환경 상 이유로 사용할 수도 있으므로 구조화해 정리합니다.✅ 방식 1: git clone으로 시작하는 경우🔹 1단계: 저장소 클론 (파일은 다운로드하지 않음)git clone --no-checkout https://github.com/username/repository.gitcd repository--no-checkout: clone.. 2025. 4. 10. 이전 1 다음