您的位置: 首页 > 文章 > git重置分支代码 git重置分支代码 分类: 文章 • 2024-12-28 10:57:10 git checkout test1 #把test1重置为test2 git reset --hard orgin/test2 #这一步不要git pull 直接强推 git push --force -----------小乌龟git秀一波--------