Fix “unknown repository” of an opened PR after deleted the fork

后端 未结 3 479
抹茶落季
抹茶落季 2021-02-02 13:06

I have the following scenario:

  • Created a fork of a github repository
  • Submitted a pull request (still opened)
  • Deleted the fork

Now,

3条回答
  •  無奈伤痛
    2021-02-02 14:04

    Unfortunately it looks like your pull-request will remain an orphan.

    See this (still unresolved) thread: https://github.com/isaacs/github/issues/168

    Probably the best thing to do would be to re-clone the repo, re-create your pull-request, delete the existing pull-request, and submit a fresh one.

    Also, add a "thumbs up" to tohe issue so in the future there can be a more straight-forward solution to this problem.

提交回复
热议问题