We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

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

Konrad November 13, 2020 by Konrad


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:

>>>>>>> Unanswered <<<<<<<
2 Replies