programming:git:git
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
programming:git:git [2019/05/07 06:54] – created maferreira | programming:git:git [2019/09/27 13:41] – [Clone only one directory] maferreira | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Clone only a directory ===== | + | ====== Git ====== |
- | git clone <git path> | + | ===== Clone only one directory ===== |
- | cd <git directory> | + | git clone <git path> |
- | git config core.sparsecheckout true | + | cd <git directory> |
- | echo "< | + | git config core.sparsecheckout true |
- | git checkout -- | + | echo "< |
+ | git checkout -- | ||
+ | |||
+ | Reference : https:// |
programming/git/git.txt · Last modified: 2022/04/12 06:19 by ateixeira