User Tools

Site Tools


programming:git:git

This is an old revision of the document!


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.1569591667.txt.gz · Last modified: 2019/09/27 13:41 by maferreira