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
To delete in local branch, use
git reset --hard HEAD~1
To delete in a remote branch, use
git push origin HEAD --force