I would like to know how to delete a commit.
By delete, I mean it is as if I didn\'t make that commit, and when I do a push in the future, my changes wi
delete
git reset --hard HEAD~1 You will be now at previous head. Pull the branch. Push new code. Commit will be removed from git
git reset --hard HEAD~1