git如何回滚代码版本

来源:互联网 发布:生命之花 伤感网络歌曲 编辑:程序博客网 时间:2024/06/05 20:21

简单来讲就两步:

git reset --hard <commit_id>


git push origin HEAD --force


0 0
原创粉丝点击