Skip to content

Commit

Permalink
chore: update hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
yansheng836 committed Oct 3, 2024
1 parent 4b3c857 commit 58d296c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions git-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh
echo '提交前执行...'
# 自动将Github page内容同步到docs文件夹
cp .git/hooks/pre-commit ./git-hooks/
#自动将Github page内容同步到docs文件夹
#cp .git/hooks/pre-commit ./git-hooks/
find .git/hooks | grep -v .sample | grep hooks/ | xargs -i cp {} ./git-hooks
git add ./git-hooks/*

cp README.md ./docs/README.md
Expand Down

0 comments on commit 58d296c

Please sign in to comment.