Thursday, August 22, 2019

Git error: cannot spawn .git/hooks/post-commit: No such file or directory


This error could happen when on the Windows.

error: cannot spawn .git/hooks/post-commit: No such file or directory

To fix it, simply add this as the first line of the file .git/hooks/post-commit:

#!/bin/sh


No comments:

 
Get This <