Interface ResetOptions

ResetOptions defines the supported options for the Git reset command.

Hierarchy

  • ResetOptions

Properties

--hard?: null

Resets the index and the working tree.

--keep?: null

Resets the index and updates the files in the working tree.

--merge?: null

Resets the index and updates the files in the working tree but keeps those which are different between the index and working tree.

--mixed?: null

Resets the index but not the working tree.

--no-quiet?: null

The complement of --quiet.

--no-recurse-submodules?: null

Does not reset the working tree of all active submodules.

--quiet?: null

Report errors only. See also --no-quiet.

--recurse-submodules?: null

Resets the working tree of all active submodules.

--soft?: null

Does not touch the index or the working tree.