Skip to content

Commit 66af413

Browse files
committed
Add ochtra as commit hook
1 parent 050b2c2 commit 66af413

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ test:
99
cd tests && npm install
1010
node tests/cli.js --debug
1111

12+
hook:
13+
mkdir -p ~/.gittemplate/hooks
14+
curl https://raw.github.com/kvz/ochtra/master/pre-commit -o ~/.gittemplate/hooks/pre-commit
15+
chmod u+x ~/.gittemplate/hooks/pre-commit
16+
git config --global init.templatedir '~/.gittemplate'
17+
rm .git/hooks/pre-commit || true
18+
git init
19+
1220
site:
1321
git pull && \
1422
cd _octopress && \

0 commit comments

Comments
 (0)