Another Way to Collaborate

👉 Give someone repository access rights!

If you are working in a team with others you trust, you can edit repository settings so everyone who is working on the code can make commits directly to the same repository.

This means they will not have to make a fork, but will instead be able to just clone the repository and push changes back to it as if it was their own

Sometimes people will do this for small fixes, typos, etc. but still make pull requests for bigger changes - this allows collaborators to review your code before it’s merged into the main codebase, ensuring it has enough documentation and test it for bugs.

Make sure you trust anyone you add as a collaborator! You might want to require that all collaborators have Two-Factor Authentication enabled. You can also protect the master / main branch from direct commits without review.

Use a CONTRIBUTING.md file to set out guidelines for collaborator contributions.


Adding collaborators

To add a collaborator to your repository, in your GitHub repository online, go to the Settings tab (top leftish), then click on the “Manage Access” link on the left hand side menu.