Bitbucket already supports fork-based pull requests, and while this model is great for open source projects – where new contributors can fork your repository and submit a pull request – it can feel heavy-handed when working in a small team.
Small (and large) teams rejoice! Today we are excited to announce the ability to create pull requests between branches. Using git’s lightweight branching support, and excellent extensions like Git Flow, have already made this the de facto workflow for Git diehards. We think that pull requests between branches is a perfect way to collaborate and conduct code reviews when working on a small or large team.
But wait, there’s more!
We’ve also streamlined some of the work around creating and updating pull requests:
- For those quick, one-commit pull requests, we’ll pre-populate the pull request title with your commit message so you can get your pull request started in just a couple clicks.
- For those times you realize your pull request isn’t quite ready for prime time, pull request creators can now undo their mistakes by rejecting their own pull request, rather than wait for someone else to do so.
- For the Git sorcerers among us, we’ve added smarts to detect when a pull request’s changes have been rebased.
Try it
First time creating a pull request? Check out this video and learn how to issue your first pull request.