git操作

1、git reflog 

 

2、git reset --hard   <COMMIT_ID>

这样就可回退提交或撤销错误的pull拉取

posted @ 2019-06-14 16:12  有追求的程序员  阅读(102)  评论(0编辑  收藏  举报