Interface AddGitOptions

AddGitOptions defines the supported options for the Git add command.

Hierarchy

  • AddGitOptions

Properties

--all?: null

Updates the index not only where the working tree has a file matching pathspec but also where the index already has an entry.

--chmod?: string

Overrides the executable bit of the added files.

--force?: null

Adds otherwise ignored files.

--ignore-errors?: null

Continues adding files even if some files can not be added because of errors indexing them.

--intent-to-add?: null

Records only the fact that the path will be added later.

--no-all?: null

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.

--refresh?: null

Doesn’t add file(s), but only refreshes their stat() information in the index.

--renormalize?: null

Applies the "clean" process to all tracked files to forcibly add them again to the index.

--sparse?: null

Updates index entries outside of the sparse-checkout cone.

--update?: null

Updates the index just where it already has an entry matching pathspec.

--verbose?: null

Be verbose.