about uscontact

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

Category:
Author: zemna
Date: April 17, 2021
Share this:

pre-commit.cmd

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

Share this:

Leave a Reply

Your email address will not be published.

ZEMNA.NET

Professional software development agency estalished in Indonesia. We offers website setup, web application development, fulfillment service, and etc.
Follow us
Follow us to get latest news and tutorials.
2022 - Copyright, All Rights Reserved, Made by ZEMNA.NET with ❤️
magnifiercrossmenu