Github convert existing repo to a fork

后端 未结 2 1503
傲寒
傲寒 2020-12-21 03:45

My organisation has a main repo called org/A.git. I forked it as me/A.git to Github first. My organisation admin made org/A.git privat

相关标签:
2条回答
  • 2020-12-21 04:16

    I don't think you can. But the four steps you describe probably take less time than the time it took to post here. :-)

    For step 4, how about git push --all origin?

    0 讨论(0)
  • 2020-12-21 04:30

    This is very, very, very old... However, I recently faced a similar circumstance myself, and contacted GitHub Support. For me, it wasn't that it was a fork originally and then it was broken, but rather I created my own repo manually before understanding what a fork was (still new to Git). GitHub Support confirmed there was no way to do it, unfortunately.

    The quote from them:

    Thanks for reaching out! Sorry for the trouble, but it isn't possible to attach a repository as a fork of another in this kind of situation -- repositories can't move from one fork network to another, or to a network they were not originally created from.

    0 讨论(0)
提交回复
热议问题