[Git] Command to return to pre-merge state when conflict occurs during merge

Tadashi Shigeoka ·  Thu, October 2, 2014

The command to return to the pre-merge state when conflict occurs during git merge is:

git reset --hard ORIG_HEAD
Git

That’s all from the Gemba, where I occasionally have opportunities to use this and was looking it up every time.