Knowledge Base

Managing Git Repositories in Plesk

Managing Git Repositories in Plesk

  • Access the Git Tool

    ◦ Log in to your Plesk Dashboard → open your domain.

    ◦ In the left sidebar, click on “Websites & Domains” >> Dashboard under the Files & Databases >> Dev Tools section.

             ◦ If it’s not visible, your hosting plan might not include Git — contact Thamara Support to enable it



  •  Create a New Git Repository

You’ll have two main options:

A. Clone an existing repository

◦ 
Choose “Remote Git hosting”

◦ 
Enter the Git URL (e.g., https://github.com/username/project.git)

◦ Select the deployment mode:

     ◦ Automatic deployment: every push triggers deployment

     ◦ Manual deployment: You choose when to deploy

B. Create a local repository

◦ 
Plesk will create a Git repo inside your hosting (usually in /httpdocs/.git/)

◦ You can connect to it later using your local Git client.

  • Configure Deployment Path

    ◦ 
    Set the deployment directory (e.g., /httpdocs for your website.

    ◦ Plesk will automatically pull the code to that directory when you deploy.

  • Deploy the Website

    ◦ 
    Push your code to the connected Git branch.

    ◦ Go back to Plesk → click Pull Updates or Deploy.

    ◦ Your files will instantly update in your site’s folder.

  • View Logs & Manage Branches

    ◦ 
    You can check commit logs, switch branches, and manage deployment settings directly from the Git panel.

    ◦ Click Repository Settings for advanced options (hooks, auto-deploy, etc.)

 

Please rate this article to help us improve our Knowledge Base.

0 0