1.用GitHub客户端打开历史记录,选择想要回退的版本(复制hash)

2.打开终端

3.终端输入 git reset --hard sha

4.终端输入git push origin HEAD --force

1.用GitHub客户端打开历史记录,选择想要回退的版本(复制hash)
2.打开终端
3.终端输入 git reset --hard sha
4.终端输入git push origin HEAD --force
本文标题:GitHub回退、撤销操作
本文链接:https://www.haomeiwen.com/subject/jrkxmftx.html
网友评论