1、切换至指定的commit版本
git reset --hard 281768597f8ec26610a90f3040762317808e24fd
2、强制更新,覆盖当前master,去掉之后的提交
git push origin master --force
1、切换至指定的commit版本
git reset --hard 281768597f8ec26610a90f3040762317808e24fd
2、强制更新,覆盖当前master,去掉之后的提交
git push origin master --force
本文标题:gitlab回退到指定的commit版本,并覆盖当前
本文链接:https://www.haomeiwen.com/subject/ivlvaltx.html
网友评论