Command
git reset --keep
Conditional reset preserving compatible local changes; refuses conflicting changes and unmerged entries.
Formal Syntax & Structure
git syntaxgit
git reset --keep REVConditional reset preserving compatible local changes; refuses conflicting changes and unmerged entries.
git reset --keep REV