Additional technical rectifications for the git reset command.

interface Reset {
    mode: "hard" | "soft" | "mixed";
    ref?: string;
}

Properties

Properties

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.

ref?: string

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