1
0
Fork 0
x64dbg/.github/format/install-git-hook.bat

7 lines
218 B
Batchfile

@echo off
git config core.autocrlf false
set PRE_COMMIT_HOOK=%~dp0..\..\.git\hooks\pre-commit
if not exist "%PRE_COMMIT_HOOK%" (
echo Installing pre-commit hook...
copy %~dp0pre-commit %PRE_COMMIT_HOOK%
)