How to use (Git Version Control) in cPanel for deployment

Content

Overview

The Git™ Version Control feature allows you to deploy your cPanel-managed repositories. Generally, deployment sends finished code into production. You can use different configurations to automatically (push deployment) or manually (pull deployment) deploy changes.

You can use (Git Version Control) feature in cPanel for deployment in one of two methods:

  1. To have your local computer as an intermediary between the Remote Repository and the cPanel Repository:
    The latest update is pulled to your device (git pull) from the remote repository and then uploaded (git push) to (cPanel) repository.
  2. To work from your local computer on the remote repository, and then link the remote repo to the cPanel repo:
    In this method, you can apply the updates by clicking on “Update from Remote”.
Note

The remote management process requires SSH access, and it is a feature that does not work by default in cPanel. Therefore, please request the activation of the feature from the technical support team.

Share this:
FacebookTwitterWhatsAppViberCopy LinkTelegramLinkedIn
Updated on April 18, 2023

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support