Closed luce-carevic closed 4 years ago
I need to work on more user-friendly error messages... the "Unknown option" thing means the plugin tries to use a command that Git doesn't understand, which in turn means that the Git version on your server is too old. You can check it by running git --version
.
In the readme, you can see the minimum required Git version, which is 2.22.0
. Upgrade it and let me know if you have further problems. 👍
The Git version on the server is 2.24.1. Is it not correct?
Hm, then perhaps there are multiple versions of Git on your server. It's possible that the one you use when you run git --version
is separate from the one that the PHP scripts use. To check that, create a sample PHP script like this:
echo exec('git --version');
...and see what this outputs.
You can also enable the log file option of the plugin so that each executed command is logged, and paste the results here. That can help us resolve the issue in case a command is malformed.
@llune have you solved the issue?
Hi!
I've tried installing the plugin manually because I'm not sure I can use composer on my shared web hosting service. There is git though (2.24.1).
I've set my config file like this:
I don't really understand the mistake here. Could you help me understand what's wrong?