<git>. Called using the
<extension> operator (for
details, see Managing Plesk Extensions).
Required extension: Git.
Plesk version: Plesk Onyx 17.0 and later
Plesk user: Administrator, customer
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.
- 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