I’ve seen some projects on GitHub (howdy being one of them that came to mind) where there are forks, but when I check the forks out they are either unchanged, or are behind by a few commits. I was wondering why this would happen. It couldn’t be for archival purposes, could it?

  • ArmainAP@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    14 hours ago

    GitHub nukes forks when the original repository is deleted. The correct way to handle your use case is by creating pull mirrors, ideally on a different host.

    • Michal@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      12 hours ago

      I didn’t know this, and I’m sure a lot other people don’t know this and that’s why they fork - to have their own copy of the repo, thinking they have full control over it.

      I have forked projects in the past and IIRC i had to send a request to be disassociated from the original repo, otherwise all pull requests default to the original repo which is annoying.

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        9 hours ago

        You can simply git clone on your system and push it to whatever other remote you want. It should not be associated to the origin in that way.