【记录】reset current branch to here

git发现提交的代码有误

截图在idea上操作

reset current branch to here

在需要回滚到的提交记录上
【记录】reset current branch to here_第1张图片

!!!最重要一点要提交回滚

-force push
强制提交
【记录】reset current branch to here_第2张图片

你可能感兴趣的:(git,github)