Create a Gitspace
Follow the instructions below to create a Gitspace:
- Click on +New Gitspace. To create a Gitspace using the sample app. You have two options to create Gitspace:
- Using Harness Code
- Other Git Repositories
- Select the Repository from the dropdown, followed by updating the branch.
-
You can add a public or private repository URL for supported git providers.
-
For public repositories, the URL must strictly follow this format: https://git-provider.com/organisation/repository (e.g., for GitHub: https://github.com/harness-community/demo-repo-nm). Any extra text after this may cause an error.
-
If OAuth is configured, you’ll be able to select from a list of private repositories you have access to.
-
By default the branch selected would be main which you can change according to your choice.
Select IDE
Move back to the CDE Create Gitspace window and select your preferred IDE from the given options.
Select Region
Select the region in which you want to provision your CDE.
Select Machine
Select the machine type to be either Standard or Large.
It will take few minutes to provision the Gitspace and you could see all the steps and logs involved.
Now you can your Gitspace in the selected IDE and start developing.