Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
loading
  1. Home
  2. Plesk Control Panel
  3. How to use Git with Plesk
Updated on June 21, 2024

Plesk Control Panel

  • Folder icon closed Folder open iconHow to log in and out of Plesk
  • Folder icon closed Folder open iconHow to add new domains and subdomains in Plesk
  • Folder icon closed Folder open iconHow to manage databases and database users in Plesk
  • Folder icon closed Folder open iconGetting started with the Plesk File Manager
  • Folder icon closed Folder open iconHow to manage DNS zones in Plesk
  • Folder icon closed Folder open iconHow to access webmail in Plesk
  • Folder icon closed Folder open iconHow to manage e-mail accounts in Plesk
  • Folder icon closed Folder open iconHow to configure an e-mail forwarder in Plesk
  • Folder icon closed Folder open iconHow to configure an e-mail alias in Plesk
  • Folder icon closed Folder open iconHow to enable auto-reply messages for an e-mail account in Plesk
  • Folder icon closed Folder open iconHow to use the Plesk spam filter
  • Folder icon closed Folder open iconHow to manage e-mail deliverability settings in Plesk
  • Folder icon closed Folder open iconHow to set up Gmail as the e-mail provider in Plesk
  • Folder icon closed Folder open iconGetting started with Plesk
  • Folder icon closed Folder open iconPlesk e-mail features
  • Folder icon closed Folder open iconHow to manage FTP accounts in Plesk
  • Folder icon closed Folder open iconHow to back up and restore sites in Plesk
  • Folder icon closed Folder open iconHow to generate a CSR and install an SSL certificate in Plesk
  • Folder icon closed Folder open iconHow to manage users in Plesk
  • Folder icon closed Folder open iconHow to use Plesk to protect directories with a password
  • Folder icon closed Folder open iconHow to schedule tasks in Plesk
  • Folder icon closed Folder open iconHow to use the WordPress Toolkit in Plesk
  • Folder icon closed Folder open iconHow to generate and renew Let’s Encrypt SSL certificates in Plesk
  • Folder icon closed Folder open iconHow to use Plesk to stage websites
  • Folder icon closed Folder open iconHow to switch PHP versions and settings on Plesk
  • Folder icon closed Folder open iconHow to redirect users to SSL connections in Plesk
  • Folder icon closed Folder open iconHow to use Git with Plesk
  • Folder icon closed Folder open iconHow to view and filter logs in Plesk
  • Folder icon closed Folder open iconHow to remove password protection from the site statistics page
  • Folder icon closed Folder open iconHow to install a self-signed SSL certificate in Plesk
  • Folder icon closed Folder open iconHow to use SSH keys with Plesk
  • Folder icon closed Folder open iconHow to view resource usage information in Plesk
  • Folder icon closed Folder open iconHow to change your Plesk password
  • Folder icon closed Folder open iconHow to manage user roles in Plesk

How to use Git with Plesk

Estimated reading: 3 minutes 105 views

This article describes how to configure Plesk’s integration with the Git version control system.

Plesk is no longer included with new Hostvento Hosting plans, but it is still available on legacy Managed WordPress accounts. You can install Plesk manually on unmanaged VPS and Dedicated servers.Table of Contents

  • Setting up a remote repository
  • Creating a local repository
  • Editing repository settings
  • More Information

Setting up a remote repository

In Plesk, you can configure a remote Git repository and pull files to your site. To do this, follow these steps:

  1. Log in to Plesk.If you do not know how to log in to your Plesk account, please see this article.
  2. In the left sidebar, click Websites & Domains:Plesk - Sidebar - Websites and Domains
  3. Locate the domain you want to configure, and then click the Git icon:Plesk - Git icon
  4. On the Add Git Repository page, confirm the Remote Git hosting like GitHub or BitBucket option is selected:
    Plesk - Git - Add remote repository
  5. In the Remote Git repository text box, type the URL where the remote repository is hosted:
    Plesk - Git - Add remote repository configurationPlesk supports HTTPS and SSH protocols for Git.
  6. To select the deployment mode, click automatically deployed, select the mode you want, and then click Ok.
  7. To select the deployment directory on your site, click /httpdocs/, select the local directory you want to use, and then click Ok.
  8. Click OK. Plesk clones the remote repository into the local directory you specified in step 7.
    To pull updates from the remote repository, click Pull Updates.

Creating a local repository

In Plesk, you can create a local Git repository. To do this, follow these steps:

  1. Log in to Plesk.If you do not know how to log in to your Plesk account, please see this article.
  2. In the left sidebar, click Websites & Domains:Plesk - Sidebar - Websites and Domains
  3. Locate the domain you want to configure, and then click the Git icon:Plesk - Git icon
  4. Click Add Repository.
  5. Select Local repository on your workstation:
    Plesk - Git - Add local repository
  6. In the Git Repository in Plesk text box, type the name of the new repository:
    Plesk - Git - Add local repository configuration
  7. To select the deployment mode, click automatically deployed, select the mode you want, and then click Ok.
  8. To select the deployment directory on your site, click /httpdocs/, select the local directory you want to use, and then click Ok.
  9. Click OK. Plesk creates the local repository.

Editing repository settings

To edit the settings of an existing repository in Plesk, follow these steps:

  1. Log in to Plesk.If you do not know how to log in to your Plesk account, please see this article.
  2. In the left sidebar, click Websites & Domains:Plesk - Sidebar - Websites and Domains
  3. Locate the domain you want to configure, and then click the Git icon:Plesk - Git icon
  4. Locate the Git repository you want to edit, and then click Repository Settings:
    Plesk - Git - Repository settings
  5. On the settings page, make the changes you want, and then click OK. Plesk updates the settings.

More Information

  • For more information about Git, please visit https://git-scm.com.
  • For more information about Plesk, please visit https://www.plesk.com.

Still stuck? How can we help?

How can we help?

Was this page helpful? Yes No

Share this Doc

How to use Git with Plesk

Or copy link

Clipboard Icon
CONTENTS
  • Setting up a remote repository
  • Creating a local repository
  • Editing repository settings
  • More Information
Leaf Illustration

© 2023 All Rights Reserved by Hostvento