Notice
Recent Posts
Recent Comments
Link
«   2025/10   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

R4mbb

github 특정 폴더만 clone 본문

메모용

github 특정 폴더만 clone

R4mbb 2025. 8. 7. 05:10
mkdir test && cd test

git init
git config core.sparsecheckout true
git remote add origin https://github.com/test.git

# test/.git/info/sparse-checkout
echo "path" > .git/info/sparse-checkout

git pull origin master

 

path는 아래처럼 복사가능.

 

'메모용' 카테고리의 다른 글

git 100MB 이상일 때 push  (0) 2025.09.12
__run_exit_handlers overwrite 메모  (2) 2025.07.17
safe linking 암/복호화 코드 메모  (0) 2025.07.17
ROR, ROL 함수 메모  (0) 2025.07.17
libc <-> ld 맞추기  (0) 2025.05.16