On github, if I fork someone else’s project, I make changes. . The original was updated. . How can I merge his original into my own branch?
The method upstairs can, another way:
Use git command in your repo:
Create a new upstream (name is optional) remote remote
git remote add upstream https://github.com/username/reponame.gitThe link address is the source project address of your fork project.
Then fetch the code of upstream
git fetch upstream
Finally, you can merge the code on upstream into your own branch
git merge upstream/masterIf it is not the master branch, it will be changed according to its own situation. If your code does not conflict with that on upstream, then everything will go smoothly.