How to create a local repository

September 3, 2024 / How-to Guide

In this article, you will learn how to create a local repository.

Creating a local repository in Plesk allows you to manage and deploy code changes directly from the server, enabling better control over development and testing in a secure environment.

To do so, follow the steps:

  1. Log in to Plesk.
  2. In the left sidebar, click on Websites & Domains.
    websites and domains
  3. Find the domain you want to configure and click the Git icon.
  4. Click Add Repository .
    add repository
  5. Choose Local repository on your workstation.
    local
  6. Enter the name for your new repository.
    Note: Choose a name that is unique within the domain, as it will also be included in the repository’s URL.
    repository name
  7. To select the deployment mode, click Automatically Deployed, or choose your preferred mode.
  8. Select the local directory you wish to use.
  9. Click on “Create.”
    deployment mode

This way a local directory will be created in Plesk. Hope you liked our article.