Comments (4)
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.
from kirby-git.
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. π
from kirby-git.
The Git version on the server is 2.24.1. Is it not correct?
from kirby-git.
@Llune have you solved the issue?
from kirby-git.
Related Issues (20)
- Customize labels
- Problems to use the API for push in a Hook HOT 1
- Run `git fetch` in the background
- Add option to switch branches
- Single-branch configuration
- Error when branch name matches folder name
- Poll for git status
- Update through composer for Kirby 3.6 HOT 4
- 500 error when visiting plugin page in panel HOT 1
- Changes list broken in Kirby 3.7 HOT 2
- oblik.git.repo produces fatal error HOT 4
- Kirby user with no name -> commit author HOT 2
- autocommit changes? HOT 2
- html tags in git messages are not encoded
- How can I use kirby-git in bare repositories on a live server? HOT 6
- Canβt stage changes with a public folder setup
- Add option to specify Git executable
- Permissions error on push not shown in the panel
- Display unstaged and staged files in a tree-like structure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kirby-git.