1. git reset --hard {commit id} 2. git push --force
若是master,push --force受保护,需关闭受保护设置
本文标题:Git回滚
本文链接:https://www.haomeiwen.com/subject/bsazbftx.html
网友评论