.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
'git&github' 카테고리의 다른 글
사라진 stash 찾기 (1) | 2020.11.16 |
---|---|
오래된 branch에서 master pull 받기 (0) | 2020.11.12 |
특정 파일만 pull 받기 (0) | 2020.11.12 |
병합 충돌로 인해 git pull 안됨 (0) | 2020.11.04 |
[reset] 이전 commit 취소하고 다시 커밋하기 (0) | 2020.11.04 |
댓글