본문 바로가기
git&github

[error] 커밋 안됨 .git/hooks/pre-commit: line 2: ./node_modules/pre-commit/hook: No such file or directory

by 바나냥 2020. 11. 12.

.git/hooks디렉토리로 이동하여 pre-commit파일을 제거 하십시오.

 

 

stackoverflow.com/questions/43933490/pre-commit-hook-no-such-file-or-directory

 

pre-commit/hook: No such file or directory

I get this error when I try to commit. OS - Latest OSX Git version - git version 2.11.0 (Apple Git-81) .git/hooks/pre-commit: line 2: ./node_modules/pre-commit/hook: No such file or directory

stackoverflow.com

 

댓글