gitgithubforkpull-requestgit-am

Is it possible to accept pull request from a cloned/forked repo?


Is it possible to accept pull request from a cloned repo?

Example ( fork of repo ):

Pull Request Limbo:

Is there any way to accept the pull request from Repo #1 to Repo #2?

Does this make sense? Maybe a git upstream pull request?


Solution

  • The pull request applied to Repo #1 comes from a fork(another repository). If Repo #2 would like to apply the pull request, it's as simple as adding the fork as a remote and then fetch the changes directly from that fork.

    See https://help.github.com/articles/fork-a-repo and https://help.github.com/articles/using-pull-requests, which actually explain this in much more detail.

    Another approach would be to directly apply the patch by using git am. There is an example of git am in usage in the latter link.