可能重复:
Rolling back local and remote git repository by 1 commit
我如何从远程GIT库中删除最后一次提交,比如我在日志中看不到它?
例如,如果git log为我提供了以下提交历史记录
git log
A->B->C->D[HEAD, ORIGIN]
我怎样才能去
A->B->C[HEAD,ORIGIN]
谢谢。
https://stackoverflow.com/questions/8225125
相似问题