User Tools

Site Tools


programming:git:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
programming:git:git [2019/05/07 06:59] maferreiraprogramming:git:git [2019/09/27 13:41] – [Clone only one directory] maferreira
Line 1: Line 1:
 ====== Git ====== ====== Git ======
 ===== Clone only one directory ===== ===== Clone only one directory =====
-    git clone <git path> +  git clone <git path> 
-    cd <git directory> +  cd <git directory> 
-    git config core.sparsecheckout true +  git config core.sparsecheckout true 
-    echo "<directory name>" >> .git/info/sparse-checkout +  echo "<directory name>" >> .git/info/sparse-checkout 
-    git checkout --+  git checkout --
  
 Reference : https://git-scm.com/book/en/v2 Reference : https://git-scm.com/book/en/v2
programming/git/git.txt · Last modified: 2022/04/12 06:19 by ateixeira