This guide was created with Scribe in
Sign in and create your own!
How to Delete a Commit in GitHub
It is generally not recommended to delete a commit, as it is important to maintain an accurate version history. Typically, you may undo the effects of a bad commit by performing a Git Revert. However, to fully remove a commit you can use Git Reset.
Have something to say?
Create an account to leave messages for the author to see!
Create an account
This Page is in tip-top shape!
Leave feedback if there are any issues with this Page