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.1557212388.txt.gz · Last modified: 2019/05/07 06:59 by maferreira