how to remove a commit in the middle in bitbucket code example
Example 1: bitbucket how to undo commit
git reset --soft <commit hash, example: 52f823c>
git push -f
Example 2: delete branch on bitbucket
git push --origin delete <branchName>
git reset --soft <commit hash, example: 52f823c>
git push -f
git push --origin delete <branchName>