What are some good rules to follow when handling people who want to collaborate on a project that is on your personal repo?

It looks like GitHub doesn’t allow fine control of permissions unless it is an organization repo. I looked around and a lot of other projects (specifically browser extensions) still live on the main dev’s account. I don’t have any reason to doubt the people who want to help, but it might be nice to know what the best practices are.

Should I add everyone as a collaborator? This runs into the issue above where I can’t limit permissions.

Should everyone push contributions from their forks? In that case, how would people work together on a particular feature.

  • @MajorHavoc
    link
    17
    edit-2
    1 year ago

    Should everyone push contributions from their forks?

    Yes.

    In that case, how would people work together on a particular feature.

    They can grant permissions to eachother (and even to you) to commit directly to their forks.

    Since their fork isn’t the main repo, it is easier to reset and try again if things go sideways.

    • JackbyDev
      link
      fedilink
      English
      3
      edit-2
      1 year ago

      When opening a PR across forks there is an option to allow folks from the target repo to edit the branch. I don’t know exactly what it allows but it should allow committing at least.

      • @MajorHavoc
        link
        21 year ago

        Neat. I’ll check that out! Thanks!

        • JackbyDev
          link
          fedilink
          English
          31 year ago

          Just fork any repo and make a random change and begin to open a PR. You don’t have to actually open one to see the option.

    • CynberOP
      link
      fedilink
      2
      edit-2
      1 year ago

      Good to know, I’ll explore some more

      Thank you!