简体   繁体   中英

How do I merge changes of a git fork into master of my repo?

I have a repository on Github and someone has forked it and made changes (that have helped improve the repository). Is there a git command that will allow me to take those changes made by the other user and modify my original master repo to match that forked repository?

option 1: Use GitHub's Pull Request mechanism

Pull Requests were designed especially for this purpose: making it easier for beginners and non-git experts to accept contributions from forks.

See also:

option 2: setup the forked repo as a remote

The other option is to setup the fork as an additional remote and fetch/pull from it. But that is more advanced and you sound like a beginner.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM