Retry the “Separate” fork in Github?

I wonder if there is anyway to reconnect a “separate” repository to GitHub?

Order of events:

  • They called a private repository from the organization to which I belong.
  • Parent, private repository published
  • I also made a public public repository (or received an invoice)
  • Now that I was hoping to send a transfer request and merge some changes, I noticed that my plug was “disconnected” from the parent repository ( see this explanation and confirmation as to why )

Is there any hope of "reconnecting" this plug? Or will I rename my repository, fork again and copy the code?

Any suggestions are welcome.

+5
source share
1 answer

Thanks to @saeedgnu for an elegant and perfect offer. The solution was:

  • Be sure to pull and update your local git repository from your personal, isolated GitHub fork repository
  • Remove the personal disconnected GitHub repo plug
  • Re-fork repository on github
  • Key: The local git repository still points to the correct GitHub repo . It has the current code from your now remote GitHub virtualization, so you can push the changes (and keep sending traction requests) as if nothing had happened!

Phew The crisis is averted.

+4
source

Source: https://habr.com/ru/post/1245784/


All Articles