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

后端 未结 3 432
抹茶落季
抹茶落季 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:02

    You can reclaim orphaned pull requests as

    git fetch  refs/pull//head:
    
    git checkout 
    

提交回复
热议问题