Git的pull后报错进行恢复本地代码

 下拉代码后报错,可以这样解决

git reflog                 先看到提交的代码的id,
git reset --hard [id]      id是你要回退的代码的id

 

你可能感兴趣的:(Git)