回退到指定版本
1、先切换到要回退的分支
2、然后pull
3 、git reset --hard 46b66217d92af8c64bcd1d796fe67695022c9d54(这一长串数字字母就是版本id)
4、将修改push到远程服务器develop分支上
git push -f -u origin develop
回退到指定版本
1、先切换到要回退的分支
2、然后pull
3 、git reset --hard 46b66217d92af8c64bcd1d796fe67695022c9d54(这一长串数字字母就是版本id)
4、将修改push到远程服务器develop分支上
git push -f -u origin develop
本文标题:git回退到指定版本
本文链接:https://www.haomeiwen.com/subject/poujwdtx.html
网友评论