Git LFS와 pre-commit 훅으로 대용량 파일 자동 추적하기
pre-commit 파일
1 | !/usr/bin/env bash |
hooksPath 확인
1 | git config --get core.hooksPath |
로컬 설정
1 | git config --local core.hooksPath .githooks |
글로벌 설정
1 | git config --global core.hooksPath home/beni/.githooks |
pre-commit 파일
1 | !/usr/bin/env bash |
1 | git config --get core.hooksPath |
1 | git config --local core.hooksPath .githooks |
1 | git config --global core.hooksPath home/beni/.githooks |