@@ -28,21 +28,23 @@ In addition, if you don't need the full-blown manpage help, but just need a quic
28
28
$ git add -h
29
29
usage: git add [<options>] [--] <pathspec>...
30
30
31
- -n, --dry-run dry run
32
- -v, --verbose be verbose
33
-
34
- -i, --interactive interactive picking
35
- -p, --patch select hunks interactively
36
- -e, --edit edit current diff and apply
37
- -f, --force allow adding otherwise ignored files
38
- -u, --update update tracked files
39
- --renormalize renormalize EOL of tracked files (implies -u)
40
- -N, --intent-to-add record only the fact that the path will be added later
41
- -A, --all add changes from all tracked and untracked files
42
- --ignore-removal ignore paths removed in the working tree (same as --no-all)
43
- --refresh don't add, only refresh the index
44
- --ignore-errors just skip files which cannot be added because of errors
45
- --ignore-missing check if - even missing - files are ignored in dry run
46
- --chmod (+|-)x override the executable bit of the listed files
31
+ -n, --dry-run dry run
32
+ -v, --verbose be verbose
33
+
34
+ -i, --interactive interactive picking
35
+ -p, --patch select hunks interactively
36
+ -e, --edit edit current diff and apply
37
+ -f, --force allow adding otherwise ignored files
38
+ -u, --update update tracked files
39
+ --renormalize renormalize EOL of tracked files (implies -u)
40
+ -N, --intent-to-add record only the fact that the path will be added later
41
+ -A, --all add changes from all tracked and untracked files
42
+ --ignore-removal ignore paths removed in the working tree (same as --no-all)
43
+ --refresh don't add, only refresh the index
44
+ --ignore-errors just skip files which cannot be added because of errors
45
+ --ignore-missing check if - even missing - files are ignored in dry run
46
+ --chmod (+|-)x override the executable bit of the listed files
47
+ --pathspec-from-file <file> read pathspec from file
48
+ --pathspec-file-nul with --pathspec-from-file, pathspec elements are separated with NUL character
47
49
----
48
50
0 commit comments