소스 검색

Mention --no-verify in error message

rl1987 5 년 전
부모
커밋
9c90bddc42
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      scripts/maint/pre-push.git-hook

+ 2 - 0
scripts/maint/pre-push.git-hook

@@ -42,6 +42,7 @@ do
 		if [ -n "$commit" ]
 		then
 			echo >&2 "Found fixup! commit in $local_ref, not pushing"
+			echo >&2 "If you really want to push this, use --no-verify."
 			exit 1
 		fi
 
@@ -50,6 +51,7 @@ do
 		if [ -n "$commit" ]
 		then
 			echo >&2 "Found squash! commit in $local_ref, not pushing"
+			echo >&2 "If you really want to push this, use --no-verify."
 			exit 1
 		fi
 	fi