首页 > 技术文章 > git 版本回退

easyidea 2021-07-06 11:51 原文

//回退到指定版本
git reset --hard 406d469f937e7baa62991512

//强制回退
git push -u origin master -f

推荐阅读