JetBrains Space Help

Commit to 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.

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" permission to be able to commit to the project repositories. Contact the 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 in the README file.

  7. Depending on the authentication and verification methods used in the repository, you may need to have an SSH public key generated and uploaded to your Space profile, or set up an HTTP password.

    You may be also required to have a GPG key for signing your commits.

    See Git Keys and Passwords for instructions.

  8. Go back to the repository page.

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

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

  11. 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: 31 March 2021