I have project hosted on bitbucket and I am hoping someone can explain how to deal with declining a pull request.
i.e. if someone uses the bitbucket interface to add code, submits a pull request and it turns out their code is bad.
How do I remove/revert the bitbucket repo and delete the branch that bitbucket created for the pull request etc ?
I can happily try to clarify a couple of things for you!
Remember to follow a workflow that works for you and your team. A pull request always has a feature branch and a target branch, so you shouldn't have to worry about reverting changes on your target branch. If you do run into a scenario where you need to undo commits or changes history, have a look at Git reset and Git rebase commands.
For more information/reading on pull requests in Bitbucket, have a look here
If you'd like me to provide any additional clarification for you, then just ask!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With