tommarshall / git-good-commit

Git hook to help you write good commit messages, with no external dependencies.
MIT License
195 stars 33 forks source link

Add -L flag on curl to allow redirection #39

Closed Cycatz closed 2 years ago

Cycatz commented 2 years ago

Fix the error when fetching the hook script.

$ curl https://cdn.rawgit.com/tommarshall/git-good-commit/v0.6.1/hook.sh
Moved Permanently. Redirecting to https://cdn.jsdelivr.net/gh/tommarshall/git-good-commit@v0.6.1/hook.sh