소스 커밋(Commit)시 메세지를 입력하지 않으면 커밋되지 않도록 설정하기

pre-commit.cmd
 "C:Program FilesSubversionbinsvnlook.exe" log -t %2 %1 | FindStr [a-zA-Z0-9]
IF %ERRORLEVEL% EQU 0 GOTO OK
echo "커밋 메세지를 입력해야 합니다" >&2
exit 1
:OK
exit 0

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *