Skip to content

Fixing a PR created from the gh pages branch

Maxim Belkin edited this page May 17, 2018 · 3 revisions

Please follow the steps below in order to move changes you introduced on the gh-pages branch to a different branch.

  1. Save changes in my-changes branch.
git checkout gh-pages
git branch my-changes
  1. Sync your gh-pages with our repository
git fetch https://github.com/swcarpentry/python-novice-inflammation
git reset --hard FETCH_HEAD
  1. Push my-changes branch to your fork
git checkout my-changes
git push your-fork