Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • Unstage

Index

Properties

Properties

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.

treeish?: string

The treeish to reset to. Defaults to HEAD.