Possible Duplicate:
Rolling back local and remote git repository by 1 commit
How can I remove the last commit from a remote GIT repository such as I don’t see it any more in the log?
If for example git log
gives me the following commit history
A->B->C->D[HEAD, ORIGIN]
how can I go to
A->B->C[HEAD,ORIGIN]
Thanks.