操作
1. 查看分支
git branch
image.png
2. 查看历史版本
git reflog
image.png
3.选择要回退到的版本
git reset --hard 6347b0f
image.png
操作
git branch
image.png
git reflog
image.png
git reset --hard 6347b0f
image.png
本文标题:git pull出错后撤销命令,回退到之前的某个版本
本文链接:https://www.haomeiwen.com/subject/xjqmadtx.html
网友评论