...
- Sign up for a free account on Bitbucket. Use an "edu" address if you have one to get more "build minutes" with Bitbucket pipelines.
- Set up ssh for git to avoid having to enter your password every time you interact with Bitbucket using git. See: Set up SSH for Git.
- Using your Bitbucket account, fork the team repository: https://bitbucket.org/lorainelab/integrated-genome-browser
- Configure your fork to link to team project management software JIRA.
- Log into Bitbucket
- Go to your fork home page
- Select "Settings > Links > Add new link"
- Choose Link type "Jira"
- Enter Link url https://jira.transvar.org/
- Enter Link key IGBF
- Check that the links work - select "Commits"
- Look for commit messages containing the Link key "IGBF"
- Note that all link keys now link out to JIRA
Install Git
- Windows users: Git for Windows
Clone your fork and add the team repository as "upstream"
...
Code Block |
---|
git push origin IGBF-1234 |
Squash commits
If you have made multiple commits for a single Jira ticket it is usually best to squash the commits into a single commit before creating a pull request. See the Git cheat sheet for more information.
Make a pull request - PR
To request that your edits be incorporated into the team repository, you need to make a pull request (PR).
...