JetBrains Space Help

Clone a Repository

To start committing to a repository, you need to clone it — i.e., set up its working copy on your local machine. You can also edit files in a repository directly from the Space web or desktop UI.

To clone a repository:

  1. If not already done:

    • install the latest version of Git

    • set up your commit username and email address in Git

    Make sure your commit email address matches the email in your Space profile, as Space will use these emails to associate your commits with your Space identity.

  2. Find the project you're going to contribute to.

  3. You need to be a project member and have the Write Git repository permission to be able to commit to the project repositories. Contact your project administrator if you're not sure you have it.

  4. On the project page, locate and open the repository you want to commit to. All project repositories are shown in widgets on the project page.

  5. Go to the Files tab.

    The repository README file will be displayed.

  6. Read the repository specific set-up instructions outlined in the README file and find out whether you should use SSH or HTTPS to clone and access the repository.

  7. Go back to the repository page.

  8. Follow the instructions in README and copy the repository clone URL. It can be SSH or HTTPS depending on the requirements:

    repositoryURL.png
  9. Using the URL, clone the repository to your local machine.

  10. Once it's downloaded, you'll be able to work on the source code in your IDE and commit changes to the origin.

Last modified: 02 May 2023