If you did this already, delete the swap file ".git/.MERGE_MSG.swp"

出现这种情况一般是不正常退出造成的,找到隐藏文件后删除解决

原文地址:https://www.cnblogs.com/yangzailu/p/9835030.html