• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Commit changes made on the server with Git extension for Plesk Onyx

Patrick86aff3

New Pleskian
Is it possible with the Plesk Git extension to commit changes made directly on the server (e.g. files uploaded by the client to his website)?

The extension is configured to track a remote (GitHub) repository and the only option provided is "Pull last commits". It doesn't seem to offer a Commit or Push functionnality.

I tried to manually commit local changes when connected to the server through ssh, but there's no .git directory in my working tree so I can't run a git command...
 
When you use remote repository, the following scenario is assumed - you send the changes to this remote repository, and then Plesk pulls them from the remote repository and deploys them to your web site.

Commit or Push functionality is available in case of scenario when you send the changes from your local repository to Plesk, and then Plesk deploys the changes to your web site.
 
Hello,

I was managed to commit by doing the following:
1. create simlink inside the project:
ln -s ../git/example.git .git
2. Add the following options to git
git --git-dir .git --work-tree .<commit/add/push>

I assume `git --git-dir ../git/example.git --work-tree .<commit/add/push>` would work too.
 
It is also needed in cases where existing systems have to transition to git.
One can easily create the setup for a local repository, but can't get the system easily downloaded (pulled).
 
Last edited:
I sometimes do write codes on the server. Having the ability to push changes to the repository is an awesome feature..
Please implement this in the future.
 
Any update?

I am currently using Git to push everything to Plesk and it's amazingly good. But every time the a website changes (example: an user upload something) my Git repository is not up to date. Being able to push everything to Git would be awesome. Even a manual action would be enough.
 
Back
Top