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:
- Log in to Plesk.
- In the left sidebar, click on “Websites & Domains.”
- Find the domain you want to configure and click the “Git” icon.
- Click “Add Repository ”.
- Choose Local repository on your workstation.
- 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.
- To select the deployment mode, click Automatically Deployed, or choose your preferred mode.
- Select the local directory you wish to use.
- Click on “Create.”
This way a local directory will be created in Plesk. Hope you liked our article.