-
-
Notifications
You must be signed in to change notification settings - Fork 792
Fixing a PR created from the gh pages branch
Maxim Belkin edited this page Apr 11, 2022
·
3 revisions
Please follow the steps below in order to move changes you introduced on the gh-pages
branch to a different branch.
-
Save changes in
my-changes
branch.git checkout gh-pages git branch my-changes
-
Sync your
gh-pages
with our repository
Note,your-fork
is the name of your fork in your local repository. See the output ofgit remote -v
.git fetch https://github.com/swcarpentry/python-novice-inflammation git reset --hard FETCH_HEAD git push --force your-fork gh-pages
-
Push
my-changes
branch to your forkgit checkout my-changes git push your-fork my-changes
Now you can submit a Pull Request (PR) to our repository from the my-changes
branch.