Reputation: 192
I have a github fork that was turned standalone after the main repository changed from private to public.
According to github documentation, if a private repository is made public, each of its private forks is turned into a standalone private repository and becomes the parent of its own new repository network. The documentation advises that such a repository should either be made public or upgraded.
I have so far changed my repo to public but it is still standalone. Is there a way to connect it back to main repo? There are some pull requests I had submitted while still private and I'd like to follow up with extra updates.
Upvotes: 0
Views: 618
Reputation: 36442
You can fork again, add the forked repository as remote and then git push --all --force
from your local clone of your "unforked" repo.
Upvotes: 1