Add git hooks
This commit is contained in:
3
.git_hooks/install_hooks.sh
Executable file
3
.git_hooks/install_hooks.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
ln -s ./../../.git_hooks/pre-commit .git/hooks/pre-commit
|
||||||
3
.git_hooks/pre-commit
Executable file
3
.git_hooks/pre-commit
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
doctoc --title "# Table of Contents" .
|
||||||
Reference in New Issue
Block a user