How to sync fork with master repo? #44
-
Now that we've merged several PRs from various forks, I would like to sync up my fork with ProjectPythia's. How can I do that? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
This could help: Syncing a fork Note: If |
Beta Was this translation helpful? Give feedback.
-
In the climlab documentation, we point readers to these instructions for Forking a repo and setting the upstream remote. In my understanding, best practice is to keep your local
and then push the latest version up to your GitHub fork with
In that way both your local @dopplershift wrote some useful comments about not editing your |
Beta Was this translation helpful? Give feedback.
-
Maybe in the short term we should focus on writing this stuff up as a more clear Contributor's Guide for the team itself. This could gracefully transition into a full-fledged tutorial on how to use git and do Pull Requests. |
Beta Was this translation helpful? Give feedback.
This could help: Syncing a fork
Note: If
git fetch upstream
gives you an error, you may first need togit remote add upstream https://github.com/ProjectPythia/pythia-foundations
(i.e. the original repo URL).