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
Take backup of your code in to temp folder. Following command will reset same as server.
git reset --hard HEAD git clean -f git pull
If you want to keep your changes , and remove recent commits
git reset --soft HEAD^ git pull