GIT 撤销上一次merge操作

git merge test_branch之后发现合并错了,想撤销:

git reset --hard HEAD^

注意,HEAD后面的 ^

原文地址:https://www.cnblogs.com/rxbook/p/15503817.html