githook/README.md

9 lines
261 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### post-commit
Script to ensure a tag for the current month exists.
每次提交时检查是否存在当前月份的tag如果不存在则创建一个。
#### usage
```shell
$ cp /path/to/your/git/hooks/post-commit /path/to/your/git/repo/.git/hooks/
```