美文网首页
git回退到指定版本

git回退到指定版本

作者: 兜兜里冒糖糖 | 来源:发表于2023-11-14 16:05 被阅读0次

回退到指定版本
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