User Tools

Site Tools


programming:git:git

Git

Clone only one directory

git clone <git path>
cd <git directory>
git config core.sparsecheckout true
echo "<directory name>" >> .git/info/sparse-checkout
git checkout --

Reference : https://git-scm.com/book/en/v2

programming/git/git.txt · Last modified: 2019/09/27 15:41 by maferreira