merge合并代码后还没add时 git merge --abortmerge合并代码add后 应用git log查看commit记录 应用git reset --hard xxxxxxx(commit id)回退到对应的commit版本