Question

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

Example ( fork of repo ):

Pull Request Limbo:

  • Repo #1 has new pull request but does not accept/merge
  • Repo #2 wants the new pull request from Repo #1

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?

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top