How to create a code repository for your project

Info

A "code repository" is where code gets published on GitHub. This is not to be confused with a codespace.

A codespace refers specifically to a virtual machine environment, that contains a copy of your repository code to work on.

You only need to create a code repository once for a particular project.

To create a repository for your OpenSAFELY project, you can either:

  • Have a new repository created for you in the opensafely GitHub organisation
  • Create a repository in your own GitHub account, and request to have this transferred to the opensafely GitHub organisation later

You can find more information about both of these options in the creating a repository for a project section of the OpenSAFELY documentation.