...
Code Block | ||
---|---|---|
| ||
git branch -b <BRANCH> BRANCH |
where BRANCH is the name of the branch, e.g., IGBF-203, the name of a story in the IGB JIRA issue-tracking system.
...
Code Block |
---|
git push origin BRANCH |
Issue pull request
To request that your edits be incorporated into the main line of development:
...
- Select your branch (see above) as the pull request source (left side).
- Select the current development branch as the pull request target (right side).
- Fill in the Title and Description fields
- Request Reviewers
- Click Create pull request
Synchronize with the main repository - development branch
If the main development branch changes, you should merge in those changes to your fork. Bitbucket has utilities that make this easy - see https://blog.bitbucket.org/2013/02/04/syncing-and-merging-come-to-bitbucket/.
...
Code Block |
---|
git pull upstream BRANCHDEVBRANCH |
or
Code Block |
---|
git pull --rebase upstream BRANCHDEVBRANCH |
- Push these changes back to your fork (aliased to "origin" in this example)
...
Code Block |
---|
git push origin BRANCHDEVBRANCH |