Managing Git Repositories

Operator: <git>. Called using the <extension> operator (for details, see Managing Plesk Extensions).

Required extension: Git.

Plesk version: Plesk Onyx.

Plesk user: Administrator, customer

Description

Plesk allows you to integrate with Git – the most popular source code management system used by many web developers. You can manage Git repositories and automatically deploy web sites from such repositories to a target public directory. In other words, you can use Git as a transport for initial publishing and further updates.

In Plesk, you can add Git repositories of two types depending on the usage scenario:

  • Using local repository on your workstation. In this case, you send the changes from your local repository to Plesk, and then Plesk deploys the changes to your web site.
  • Using remote Git hosting. This scenario may be useful if you already work with some remote repository in GitHub (github.com) or BitBucket (bitbucket.org). You send the changes to this remote repository, and then Plesk pulls them from the remote repository and deploys to your web site.

For more details on managing Git repositories, refer to the Administrator's guide.

Supported operations

  • GET retrieves information about the Git repositories on a domain or on all domains
  • CREATE adds new Git repository
  • UPDATE updates a Git repository settings
  • REMOVE removes a Git repository
  • DEPLOY deploys changes from a Git repository to a target directory
  • FETCH fetches the remote repository for a Git repository of the Using remote Git hosting type

Next in this section:

Retrieving Information on Git Repositories

Creating a Git Repository

Updating a Git Repository Settings

Removing a Git Repository

Deploying Changes from a Git Repository

Fetching the Remote Repository

 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.