# Delete Commit

git reset --hard 'hash id'
1
git reset --soft HEAD^
git push -f origin main
1
2