Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Unstage

Further refinements for unstaging files from either from the index or from the working-tree. Alternatively, resetting both.

Hierarchy

  • Unstage

Index

Properties

Properties

Optional Readonly reset

reset: "all" | "index" | "working-tree"

What to reset; the state of the index, the working-tree, or both. If not given, all will be used.

Optional Readonly treeish

treeish: string

The treeish to reset to. Defaults to HEAD.