提交错了分支

159 阅读1分钟

1 git log (把提交信息commitid打印出来) 2 git reset --hard  xxx(commitid) 你要回到那个commitid 3 git push -f