# Code Repositories

## Overview

The **Repository Page** in the Servoy Cloud Control Center is designed to manage and interact with your project's repositories. This page provides an interface to view, manage, and clone repositories associated with your project environment.

## Repository Contents

Displays all the repositories associated with the project.

Each repository is listed with the following details:

* **Repository Name**: The name of the repository (e.g., `svySampleSolution`).
* **Branches**: Shows the number of branches in the repository.
* **Last Commit**: Indicates the last commit activity, showing how long ago the last commit was made and by whom. For example, "Last commit 83 days ago by R. van Veen."

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-f00b6d4c107dbc15f31ec0db5694e445168c6c13%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Repository Actions

### **Clone Button**

Located next to each repository, this button allows you to clone the repository to your local machine.

Upon clicking the "Clone" button, a panel appears providing essential details and instructions for cloning the repository.

### **Delete Repository**

Available through the three-dot menu next to each repository, this option allows you to delete the repository from the project.

Click on the three-dot menu next to the repository you wish to delete.

* Select "Delete repository" from the dropdown.
* Confirm the action to remove the repository from your project.

### Creating a new Repository

Located at the top right of the page, this button allows you to add a new repository to your project.

Upon clicking the "Add new repository" button, a form will appear with the following fields:

1. **Name**:
   * Enter the name of the repository.
   * **Restrictions**:
     * The name cannot contain special characters or spaces.
     * Once set, the name cannot be changed.
   * **Example**: `myNewRepo`, `projectX_version1`
   * **Guidance**: Choose a clear and descriptive name that reflects the purpose or contents of the repository.
2. **Description** (Optional):
   * Optionally, provide a description of the repository.
   * **Usage**: Use this field to add additional context or details about the repository, such as its purpose or contents.
   * **Example**: "Repository for the main application codebase" or "Version 2.0 development repository".
3. **Save Button**: Click the **Save** button to create the repository.

#### Important Notes

* **Repository Name**: Ensure that the repository name is carefully selected, as it cannot be altered once created.
* **Repository Description**: Though optional, adding a description can be helpful for other users or team members to understand the purpose of the repository.

## Overview

The **Repository Page** in the Servoy Cloud Control Center is designed to manage and interact with your project's repositories. This page provides an interface to view, manage, and clone repositories associated with your project environment. The repositories listed here are just the ones from the SCM.

## Repository Contents

Displays all the repositories associated with the project.

Each repository is listed with the following details:

* **Repository Name**: The name of the repository (e.g., `svySampleSolution`).
* **Branches**: Shows the number of branches in the repository.
* **Last Commit**: Indicates the last commit activity, showing how long ago the last commit was made and by whom. For example, "Last commit 83 days ago by Servoy Bot."

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-9cd6a0b73188ccd34642e91e4f17d2cdb092219b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Repository Actions

### Add New Repository

Located at the top right of the page, this button allows you to add a new repository to your project.

Upon clicking the "Add new repository" button, a form will appear with the following fields:

#### **Name**:

* Enter the name of the repository.
* **Restrictions**:
  * The name cannot contain special characters or spaces.
  * Once set, the name cannot be changed.
* **Example**: `myNewRepo`, `projectX_version1`
* Choose a clear and descriptive name that reflects the purpose or contents of the repository.

#### **Description** (Optional):

* Optionally, provide a description of the repository.
* Use this field to add additional context or details about the repository, such as its purpose or contents.
* **Example**: "Repository for the main application codebase" or "Version 2.0 development repository".
* **Save Button**: Click the **Save** button to create the repository.

#### Important Notes

* **Repository Name**: Ensure that the repository name is carefully selected, as it cannot be altered once created.
* **Repository Description**: Though optional, adding a description can be helpful for other users or team members to understand the purpose of the repository.

### **Clone Repository**

Located next to each repository, this button allows you to clone the repository to your local machine.

Upon clicking the "Clone" button, a panel appears providing essential details and instructions for cloning the repository.

To clone the repository, you will need to authenticate using your username and password.

You can start **Servoy Developer** in an empty workspace. Once you log in, it will prompt you to choose the application you want to check out, allowing you to set up your workspace with the cloned repository.

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-1be7a3e74d43d0f6df4cac3f5061d76b74ab37cf%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The credentials required are the same as those used to access the Cloud Control Center.
{% endhint %}

### **Delete Repository**

Available through the three-dot menu next to each repository, this option allows you to delete the repository from the project.

Click on the three-dot menu next to the repository you wish to delete.

* Select "Delete repository" from the dropdown.
* Confirm the action to remove the repository from your project.

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-bb2a02b92d77c25e535544dca63d1bf1597e9214%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
