문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top