Git Integration does not work: "exec: git: not found/"

Hi!

I've just set up git integration in Statamic on my local machine (following the docs but unfortunately I get this error every time I try to edit a page from the control panel:

The provided cwd "sh: line 0: exec: git: not found/" does not exist. 

Interestingly, committing (and pushing) changes works when I run php please git:commit from the command line. The Statamic installation is pretty bare bones, nothing fancy, running with php artisan serve.

I tried disabling automatic but I got this error when I tried committing from the control panel.

Relevant configuration:

STATAMIC_GIT_ENABLED=true
STATAMIC_GIT_PUSH=true
STATAMIC_GIT_AUTOMATIC=false
>>>>>>> Unanswered <<<<<<<
2 Replies
2 Followers