Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Reset

Additional technical rectifications for the git reset command.

Hierarchy

  • Reset

Index

Properties

Properties

Readonly mode

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

The git reset mode. The followings are supported:

  • hard,
  • sort, or
  • mixed.

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

Optional Readonly ref

ref: string

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