Opening a Pull Request

When a branch is ready to be reviewed for integration into the master or develop branches follow the steps below to open a pull request:

  1. Browse to https://mybitbucket.llnl.gov/projects/SUNDIALS/repos/sunrepo

  2. Click on the branch icon on the left side of screen - you’ll see a list of all available branches

  3. Click on your branch - you’ll see a ‘Compare’ screen that lets you pick a branch (source on top) to merge with another branch (target on bottom)

  4. Select the desired branches and click ‘Create pull request’

  5. Edit the title of the pull request (defaults to branch name), add a description, and select reviewers that can approve the request

  6. Click ‘Create’

The selected reviewers will go over the changes in the pull request and may ask for additional changes before merging the branch. After the pull request is merged, delete the local copy the branch:

$ git checkout PARENT
$ git branch -D <branch-name>