Skip to content
Maxim Belkin edited this page Oct 1, 2019 · 5 revisions

Before you submit a Pull Request, you have to update your fork of our repository on GitHub. To do that, please follow the steps below. When doing so, please replace all occurrences of your-GitHub-username with your actual GitHub username.

  1. Navigate to the directory with our repository:
$ cd /path/to/python-novice-inflammation
  1. Make sure you have our repository and your personal fork as remotes:
$ git remote -v
your-fork	https://github.com/your-GitHub-username/python-novice-inflammation.git (fetch)
your-fork	https://github.com/your-GitHub-username/python-novice-inflammation.git (push)
origin	https://github.com/swcarpentry/python-novice-inflammation.git (fetch)
origin	https://github.com/swcarpentry/python-novice-inflammation.git (push)
  1. Make sure you are on the gh-pages branch
$ git checkout -f gh-pages
  1. Download (pull) the latest changes from the our repository:
$ git pull origin
  1. Upload (push) these changes to your fork:
$ git push your-fork

Now, you're all set for submitting a Pull Request!

Clone this wiki locally