git clone3 [Git] Git 특정 폴더 클론하기 - Git 2.25 이상: git sparse-checkout set이용 (공식 최신 방식) 📋 Git 2.25 이상: git sparse-checkout set으로 특정 폴더만 클론하기 (공식 최신 방식)✅ Git 2.25부터 도입된 sparse-checkout set 명령어는 더 이상 .git/info/sparse-checkout을 직접 수정하지 않아도 되고,간편하고 안전하게 특정 폴더만 가져올 수 있습니다.특히 cone 모드를 사용하면 디렉토리 단위로 매우 쉽게 관리할 수 있습니다.🎯 목적전체 리포지토리를 받지 않고필요한 폴더만 안전하고 간단하게 로컬에 다운로드🛠 초기 연결 단계 (2가지 방법 중 택1)✅ 방법 1: git clone 사용하는 경우파일 제외하고 구조만 가져오기git clone --filter=blob:none --no-checkout cd 예시git clone --fi.. 2025. 4. 10. [Git] git clone change directory name git clone 시 repository와 다른 이름의 폴더 생성 후 clone 하기 git clone [HTTPS||SSH repositoryURL] [Directory Name] # example git clone git@github.com:sferik/sign-in-with-twitter.git signin repositoryURL : clone 할 repository 주소 directory name : repository를 local에 복제할 위치. 참고 : https://stackoverflow.com/questions/8570636/change-name-of-folder-when-cloning-from-github https://www.lainyzine.com/ko/article/git-clo.. 2024. 1. 3. [Git] git clone 특정 브랜치 git 특정 브랜치 clone 하기 리포지토리를 클론한 다음 모든 브랜치들을 가져온다(fetch). 그리고나서 특정한 브랜치로 전환(checkout)한다. git clone --branch 또는 git clone -b 참고 : https://www.freecodecamp.org/korean/news/git-clone-branch-how-to-clone-a-specific-branch/ 2023. 11. 1. 이전 1 다음