Closed doroness closed 4 years ago
Try replacing git_dir: .git
by git_dir: .
It's looking the for git folder path
Hello @doroness,
This error is triggered inside the "gitonomy/gitlib" package. We do not locate the git command ourselves inside this package.
It looks like it cannot be resolved, even though it is installed.
You might want to add the correct path to $PATH
?
Trying to run grumphp. Git is installed and set correctly on PATH. (I can even run git on vendor/bin) But I keep getting this error
grumphp.yml is on project root folder (...\app\public\wp-content\plugins\WordPress-Widget-Boilerplate\grumphp.yml)
My configuration
Result:
In Repository.php line 558:
Error while running git command:
git --git-dir "D:\local sites\ground-zero\app\public\wp-content\plu
gins\WordPress-Widget-Boilerplate.git" --work-tree "D:/local sites
/ground-zero/app/public/wp-content/plugins/WordPress-Widget-Boilerp
late" ls-files "D:\local sites\ground-zero\app\public\wp-content\pl
ugins\WordPress-Widget-Boilerplate\vendor\bin"
'git' is not recognized as an internal or external command,
operable program or batch file.