Skip to main content

Add a code repository to your project

info

In order to access your code repository from RenkuLab, you need to connect your RenkuLab account with GitHub/GitLab.

In the project page:

  1. Click on ➕ in the Code Repositories section.

image.png

  1. Fill in the URL of the code repository you want to add to your project. You can copy this URL from the browser page of your code repository.

    image.png

    note

    Note that this should be the HTTP URL for your code repository, not the SSH url.

  2. Click on Add code repository button

  3. Check that the access badge indicates the access level you expect to have for this code repository. If you do not have the access you are expecting, see How to connect your Renku account to your GitHub or GitLab account.

    note

    Once you have connected your accounts, your access to the code repository in RenkuLab will match your access level on GitHub/GitLab:

    • If you are able to write to the repository (push and pull rights) you will see a green status.
    • If you can only see the code repository, you will only be able to pull or clone from the code repository (status in yellow).
    • If you cannot access a given repository at all, your status will be in red.
info

Be mindful that your repository cannot be completely empty. Otherwise, you will not be able to launch the session in Renku! Create simply a README.md and it will be enough.