Created
June 16, 2016 08:36
-
-
Save simonrenoult/fc3581bab76997effd0f0d01f56ada48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COMMIT_MSG_SCRIPT_URL=https://raw.githubusercontent.com/angular/angular.js/c94329a891a1c082567c490ccf58ba8592b464ad/validate-commit-msg.js | |
COMMIT_MSG_SCRIPT_LOCATION=.git/hooks/commit-msg | |
touch $COMMIT_MSG_SCRIPT_LOCATION | |
curl $COMMIT_MSG_SCRIPT_URL > $COMMIT_MSG_SCRIPT_LOCATION | |
chmod +x .git/hooks/commit-msg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment