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

xiangsj 2019-12-24 16:26 原文

本地回退:

git reset --hard HEAD~1

回退后推送到远程:

git push --force

 

 

 

 

 

 

.

推荐阅读