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/05/07 08:59 by maferreira