Common pre-commit.sh
The snippet can be accessed without any authentication.
Authored by
Alexander Wellbrock
A common pre-commit script that uses git stash to prepare a clean environment to execute commit tests before opening the commit message editor.
Activate locally with ln -s ../../pre-commit.sh .git/hooks/pre-commit
pre-commit.sh 458 B
Please register or sign in to comment