Optional
--allUpdates the index not only where the working tree has a file matching pathspec but also where the index already has an entry.
Optional
--chmodOverrides the executable bit of the added files.
Optional
--forceAdds otherwise ignored files.
Optional
--ignore-Continues adding files even if some files can not be added because of errors indexing them.
Optional
--intent-Records only the fact that the path will be added later.
Optional
--no-Updates the index by adding new files that are unknown to the index and files modified in the working tree, but ignores files that have been removed from the working tree.
Optional
--refreshDoesn’t add file(s), but only refreshes their stat() information in the index.
Optional
--renormalizeApplies the "clean" process to all tracked files to forcibly add them again to the index.
Optional
--sparseUpdates index entries outside of the sparse-checkout cone.
Optional
--updateUpdates the index just where it already has an entry matching pathspec.
Optional
--verboseBe verbose.
AddGitOptions defines the supported options for the Git add command.