チュートリアル: Bitbucket のプル リクエストについて
Start a repository with someone else and get some feedback about your change.
So far, you've been the only person working in a repository. But what if you wanted to collaborate with your teammates on a repository? You can do that, whether you're in the same room or across the universe.
About branches and pull requests
When you work on a team with multiple Bitbucket users, you'll want to work on your own set of code separately from the main codebase. Branches allow you to do just that. A branch represents an independent line of development for your repository. Think of it as a brand-new working directory, staging area, and project history. After you create a branch, you work on and commit code to that branch, pull updates from Bitbucket to keep your branch up-to-date, and then push all your work to Bitbucket.
Once you've got code changes on a branch in Bitbucket, you can create a pull request, which is where code review takes place. Your teammates will comment on your code with feedback and questions and eventually (hopefully) approve the pull request. When you have enough approvals, merge the pull request to merge your branch into the main code.