Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 28, 2020. It is now read-only.

Commit fa464bc

Browse files
feat: 增加commit-msg hook
Windows下Python无法纯靠shebang指定环境 必须有.py后缀,无法满足git hook文件名没有后缀的要求 增加用sh写的commit-msg作为hook
1 parent 6663a6a commit fa464bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
# exec < /dev/tty
4+
./.git/hooks/validate.py 1ドル

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /