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:
- 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.
- 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”.