Pull requests across branches

By on February 1, 2012

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:

Try it

First time creating a pull request? Check out this video and learn how to issue your first pull request.

  • Francisc

    Whoo!

  • Francisc

    Whoo!

  • http://jfromaniello.blogspot.com José Romaniello

    does it works on mercurial as well? thanks

    • http://davidchambersdesign.com/ David Chambers

      Yep, it certainly does. :)

  • http://jfromaniello.blogspot.com José Romaniello

    does it works on mercurial as well? thanks

    • http://davidchambersdesign.com/ David Chambers

      Yep, it certainly does. :)

  • http://www.arlocarreon.com Arlo Carreon

    W00t!! One small step for git, one giant leap for mercurial.

  • http://www.arlocarreon.com Arlo Carreon

    W00t!! One small step for git, one giant leap for mercurial.

  • Pieter van Boxtel

    If I understand it right, this cannot be enforced though? Like I cannot give someone rights to create a branch but not to commit to master?

    • http://davidchambersdesign.com/ David Chambers

      That’s right. Access is enforced at the repository level; it’s not possible to restrict access *within* a repository.

  • Pieter van Boxtel

    If I understand it right, this cannot be enforced though? Like I cannot give someone rights to create a branch but not to commit to master?

    • http://davidchambersdesign.com/ David Chambers

      That’s right. Access is enforced at the repository level; it’s not possible to restrict access *within* a repository.

  • Shaun Ek

    Very nice

  • http://shopium.ua Sergey Kirillov

    Is there a way to get a list of current pull requests via API?

    • http://www.bitbucket.org Justen Stepka

      Unfortunately not… this is something we’d like to do, however there is no eta yet.

  • Maurizio Sambati

    it would be even nicer if the default source branch when clicking the pull request button was the branch you’re currently watching