In windows I have this post-merge git hook:
#!/bin/sh
php artisan db:seed --class=PermissionSeeder
When I do a pull, I get this error:
.hooks/post-merge: line 3: php: command not found
What I know:
- if I execute the exact same command from windows terminal, it works
- php.exe is in my user path
Any idea why the git hook does not find php.exe?
9