Options
All
  • Public
  • Public/Protected
  • All
Menu

Additional technical rectifications for the git reset command.

Hierarchy

  • Reset

Index

Properties

Properties

mode: "mixed" | "hard" | "soft"

The git reset mode. The followings are supported:

  • hard,
  • sort, or
  • mixed.

Those correspond to the consecutive --hard, --soft, and --mixed Git options.

ref?: string

The reference to reset to. By default, resets to HEAD.