git clone specific directory 특정 하위 디렉터리만 클론

cmd terminal
1
2
3
4
5
git init
git remote add -f origin git@github.com:chinsun9/reponame.git
git config core.sparseCheckout true
echo some-directory/ >> .git/info/sparse-checkout
git pull origin master

참고

git clone specific directory 특정 하위 디렉터리만 클론

https://chinsun9.github.io/2022/01/02/git-clone-specific-directory/

Author

chinsung

Posted on

2022-01-02

Updated on

2022-01-02

Licensed under

댓글