git回退版本,已经commit过的文件丢了

参考:https://blog.csdn.net/qq_33877149/article/details/79705611

可以用

git reset --hard fa8694b

回退到以上相应的位置

 

git reflog   查看所有提交的状态 

posted @ 2019-06-06 15:24  lude1994  阅读(1099)  评论(0编辑  收藏  举报