79291019

Date: 2024-12-18 12:10:14
Score: 1
Natty:
Report link

In my case, the pre-commit file was a php file and I hadn't php installed. I was getting this:

fatal: cannot exec 'pre-commit': No such file or directory

And installing php-cli with

sudo apt install php-cli

Solved the problem.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Victor Dorado