WebStorm 2016.2 Help

Git Reset Dialog

View | Tool Windows | Log - Context menu of a selected commit - Reset Current Branch to Here

Use this dialog box to reset the current branch head to the selected commit, and update the working tree and the index according to the selected mode. The following options are available:

  • Soft: The modified files will not be changed, and the differences will be staged for commit.
  • Mixed: The modified files will not be changed, and the differences will be unstaged. This mode is used by default and is identical to the git reset command.
  • Hard: The modified files will be reverted to the selected commit, and all uncommited changes will be lost.
  • Keep: The modified files will be reverted to the selected commit, but local changes will be preserved.

See Also

Last modified: 15 November 2016