> How do I remove this commit? > a ~/wine-git$ git show 7cb044d3d8aaf1cee629c259f19177732bed37af | patch -p1 -R did not remove it? You have to look at the output of that command to determine whether it succeeded. If the affected files have changed since that commit was made, the revert may not work. If the revert fails, or reverting on top of a later revision does not solve the problem, you should recheck your regression result by doing the following: $ git bisect reset in case you're in the middle of a bisect. $ git reset --hard 7cb044d3d8aaf1cee629c259f19177732bed37af Rebuild and test. This should be a "bad" revision. $ git reset --hard 7cb044d3d8aaf1cee629c259f19177732bed37af Rebuild and test. This should be a "good" revision. $ git reset --hard origin/master to get back to the latest revision.