I want to delete the last 10 commits(and pushed too) I have done in my repo
Past I have tried this
git push origin HEAD --force
But I think this will delete all the commits . How to just delete the last n commits from the git completely after I have pushed it .. ?