Answer the question
In order to leave comments, you need to log in
How to sync forked code?
Good afternoon.
Some time ago, I cloned one project and made my edits to it, created a pull request.
At this time, the code in master has been significantly rewritten (no PR yet), so it is now necessary to update my code to match the original and make some additions without affecting my previous changes. How can i do this?
Answer the question
In order to leave comments, you need to log in
git checkout master
git pull upstream master
git checkout feature
git merge master
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question