How to use Git Version Control to upload files on cPanel Print

  • 9

Deploy your code from GitHub, GitLab, or Bitbucket straight to your cPanel account by following these steps:

  1. Log in to your hosting dashboard with your credentials.

  2. In the Files section, select Git Version Control.

  3. Click the Create button to initiate a new repository.

  4. Enable the Clone on Create feature.

  5. Enter the URL of the Git repository you wish to clone in the Clone URL box.

  6. Specify the destination path for the files, such as /home/username/public_html.

  7. Assign a name to your repository in the Repository Name field.

  8. Press Create to clone the repository to your chosen directory.

Note: Using Git requires SSH access. If your account doesn’t have it enabled, email support@whogohost.com to get SSH activated.


Was this answer helpful?

« Back