README.md

March 8, 2021 ยท View on GitHub

This repo is a fork of bioconda/bioconda-recipes for maintaining Nextstrain-related recipes and submitting PRs upstream. It contains only ephemeral branches for use in PRs.

Set up

First clone the master branch from the upstream repo:

git clone --origin upstream --single-branch --branch master https://github.com/bioconda/bioconda-recipes

Then add this repo as an additional remote:

cd bioconda-recipes
git remote add --fetch nextstrain https://github.com/nextstrain/bioconda-recipes

Now you have a local clone with two remotes, upstream and nextstrain, instead of the usual origin, and the master branch tracking upstream/master.

Starting a PR

First make sure your master branch is up-to-date:

git switch master
git pull --ff-only

Then make a new branch for your changes:

git switch --create some-branch-name

Do your work and make commits. Optionally, test your changes locally.

Push your branch to the nextstrain remote:

git push -u nextstrain some-branch-name

Finally, go to GitHub and open a PR for your branch.