Command

git reset --merge

Conditional reset; refuses overlapping target/index and unstaged changes. Not a backup.

Formal Syntax & Structure

git syntaxgit
git reset --merge REV
Git Reference