ContributingΒΆ

  1. Log into Github web interface with your username-nmdp account
  2. Browse to the repo at https://github.com/nmdp-bioinformatics/flow-blast-hml, hit the Fork button.
  3. Copy the clone URL from the Github web page for the fork (something like https://github.com/username-nmdp/pipeline.git)

4) Clone the fork .. code-block:: shell

5) Add upstream as remote .. code-block:: shell

6) Pull and merge latest changes from upstream master to your local master branch .. code-block:: shell

git checkout master git pull upstream master git push

7) Create a new local feature branch .. code-block:: shell

git checkout -b new-feature-branch
  1. Edit files locally

9) Commit changes to local feature branch .. code-block:: shell

git commit -m “made changes”

10) Push changes from local feature branch to remote feature branch on your fork .. code-block:: shell

git push origin new-feature-branch
  1. Browse to the Github web page for your fork repo (something like https://github.com/username-nmdp/flow-blast-hml) and hit the new pull request button.
  2. Edit the pull request description and hit create new pull request button.
  3. Other contributors will review the changes in the pull request.
  4. When the pull request looks good, it will be merged into the master branch.
  5. Hit the delete branch button to delete your remote feature branch (the commits have been merge upstream, so it is no longer necessary).

16) Delete your local feature branch .. code-block:: shell

git branch -d new-feature-branch