I made a mistake and I don\'t know how to delete my latest push in the repository. I pull the latest updates of the app but it has conflicts and I push it to repository.
you can reset to HEAD^ then force push it.
HEAD^
git reset HEAD^ git push -u origin master --force
It will delete your last commit and will reflect on bitbucket as commit deleted but will still remain on their server.