Commit to a Repository
A project may contain one or more Git repositories. To start committing to a repository, you need to set up its working copy on your local machine. You can also edit files in a repository directly from the Space web UI.
To set up a local copy of the repository:
If not already done:
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.
Find the project you're going to contribute to.
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.
On the project page, locate the repository you want to commit to. All project repositories are shown in widgets and also listed on the sidebar.
Click README to read the repository specific set-up instructions (a Readme file).
Depending on the authentication method outlined in the instruction, upload your SSH public key to Space or set up an HTTP password:
Open your profile in separate browser tab.
On the sidebar, choose Git keys & Passwords
Click Add SSH key... to upload your SSH public key.
Click Set HTTP password.. to add a password.
Go back to the repository page.
Follow the instructions in README and copy the repository clone URL. It can be
HTTPSdepending on the requirements:
Using the URL, clone the repository to your local machine.
Once it's downloaded, you'll be able to work on the source code in your IDE and commit changes to the origin.