Skip to content

Commit add77ab

Browse files
authored
Merge pull request #1878 from petk/patch-code-examples
Add new option --sparse to git add help output
2 parents 1369e67 + f1964ca commit add77ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

book/01-introduction/sections/help.asc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ usage: git add [<options>] [--] <pathspec>...
4343
--refresh don't add, only refresh the index
4444
--ignore-errors just skip files which cannot be added because of errors
4545
--ignore-missing check if - even missing - files are ignored in dry run
46+
--sparse allow updating entries outside of the sparse-checkout cone
4647
--chmod (+|-)x override the executable bit of the listed files
4748
--pathspec-from-file <file> read pathspec from file
4849
--pathspec-file-nul with --pathspec-from-file, pathspec elements are separated with NUL character

0 commit comments

Comments
 (0)