Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for the git commit command refinement.

Hierarchy

  • Commit

Index

Properties

Properties

amend?: boolean

If true replaces the tip of the current branch by creating a new commit. The recorded tree is prepared as usual, and the message from the original commit is used as the starting point, instead of an empty message, when no other message is specified. The new commit has the same parents and author as the current one. Defaults to false.

signOff?: boolean

Adds the Signed-off-by line by the committer at the end of the commit log message. false by default.