User Tools

Site Tools


programming:git:git

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
programming:git:git [2019/05/07 06:54] – created maferreiraprogramming:git:git [2019/05/07 06:59] maferreira
Line 1: Line 1:
-===== Clone only directory =====+====== Git ====== 
 +===== Clone only one directory =====
     git clone <git path>     git clone <git path>
     cd <git directory>     cd <git directory>
Line 5: Line 6:
     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
programming/git/git.txt · Last modified: 2022/04/12 06:19 by ateixeira