Skip to content
Your Hosting Ad Goes Here KBAssets

Creating a Local Git Repository in Plesk

Plesk also allows you to create a local Git repository for custom development. This setup is ideal for developers who want to push code from their local machine to the server.

Step 1: Log in to Plesk

  1. Log in to Plesk to access your account.

Step 2: Access Websites & Domains

  1. Click on Websites & Domains in the left sidebar to view your domain list.

Step 3: Add a New Repository

  1. Find the desired domain, click the Git icon, and then select Add Repository.

Step 4: Configure Local Repository

  1. Choose Local repository on your workstation for local Git.
  2. Enter a Repository Name to create the new repository on the server.

Step 5: Set Deployment Mode and Directory

  1. Set your Deployment Mode to define how the files will be pushed to the server.
  2. Specify the Deployment Directory where the code will reside.

Step 6: Create Repository

  1. Click OK to create the local repository. Your Plesk environment is now configured for local development, and you can push code changes directly from your local Git setup.
Was this article helpful?
YesNo
Back To Top