how to revert committed changes in bitbucket after push code example
Example: bitbucket how to undo commit
git reset --soft <commit hash, example: 52f823c>
git push -f
git reset --soft <commit hash, example: 52f823c>
git push -f