1.查看日志(获得指定版本号;回车查看更多,q退出)

git log

2.回退到指定版本

git reset --soft 指定版本ID

3.再次推送到远程

git push origin master --force

 

相关文章: