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

只谈情不闲聊 提交于 2019-12-03 05:59:16
Tracysss

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.

You can reclaim orphaned pull requests as

git fetch <remote> refs/pull/<pr_number>/head:<local-branch>

git checkout <local-branch>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!