Fix "unknown repository" of an opened PR after deleted the fork

I have the following scenario:

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

Now, when I browse the opened PR on github, the repositories section says "unknown repository".

I want to revert my fork in order to make this section displaying its name.

My first idea was to re fork the upstream repository, rebase it properly (thank's to this one) and pray for that github automatically re-fill the correct name in the PR.

Unfortunately, nothing happened.

How can I achieve this ? Should I contact support ?

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.

Fix Synonyms, Fix Antonyms, Cheat. "to make firm, repair [v FIXT or FIXED, FIXING, FIXES]" [] Fix.com is a one-stop source for fixing products in and around your home. Millions of quality OEM replacement parts, repair videos, instructions, and same-day shipping available! We’re open and continuing to ship packages, however we are experiencing shipping delays.

You can reclaim orphaned pull requests as

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

git checkout <local-branch>

Fixed, to make stable or steady; fasten securely. synonyms: attach, fasten, stabilize, steady antonyms: unfix similar words: affix, anchor, bolt, cement, clamp, clinch, connect, couple, firm, join, lodge, moor, nail, pin, rivet, root, secure fix (fĭks) v. fixed, fix·ing, fix·es v.tr. 1. a. To correct or set right; adjust: fix a misspelling; fix the out-of-date accounts. b. To restore to proper condition or

If your pull request is open from long time, then repository will show "Unknown repository". So, close previous open pull request/ or do again pull request for previous change. Then you can see your name for latest pull request.

FIXS - ScrabbleDB.com, verb (used with object), fixed or fixt, fix·ing. to repair; mend. to put in order or in good condition; adjust or arrrange: She fixed her hair in a bun. to make fast, firm, or stable. to place definitely and more or less permanently: to fix a circus poster to a wall. 95 synonyms of fix from the Merriam-Webster Thesaurus, plus 330 related words, definitions, and antonyms. Find another word for fix. Fix: to arrange something in a certain spot or position.

Fix, VerbEdit. fix (third-person singular simple present fixes, present participle fixing, simple past and past participle fixt or fixed). (  Synonyms for fix at Thesaurus.com with free online thesaurus, antonyms, and definitions. Find descriptive alternatives for fix.

fix | Free On-Line English Dictionary | Thesaurus, More examples. We must get someone to fix that wheel. He fixes washing machines. They fixed my watch free of charge. The car's still at the  The Financial Information eXchange (FIX) protocol is an electronic communications protocol initiated in 1992 for international real-time exchange of information related to securities transactions and markets.

Fix.com, A man fixes the railing of his porch. Licensed from iStockPhoto. verb. To fix is defined as to repair, attach or secure. An  If you’re having audio problems, the following suggestions might help. The tips are listed in order, so start with the first one, see if that helps, and then continue to the next one if it doesn’t.

Comments
  • Hi @Tracyss, thank's for your answer. I already re forked the repo, cloned it and checked out my PR's commit, but I can't (and don't want) re-submit the PR. There is a lot of conversation, line notes and so on that involves I don't want to close it. Thx for the issue, I added a comment into. I will try to "contact a human" and I hope they can rebuild the exact fork and reattach it to the PR. If nobody can help me, I'll accept your answer in some days.
  • Could you please additional information on this as it didn't work for me. When I pushed changes after doing the above, it create commits on my fork just like new commits and didn't at all connect the old PR with my commits.
  • In this case, the PR (orphaned) branch is owned by the admin. Technically you got ReadOnly access to it. You could get the admin to push more commits to the existing PR. Or raise another PR (from your fork). In this case, you lose all the comments and reviews etc, but the main purpose of salvaging the code is served.
  • Thanks, that sounds fine.