From d7ab265b10db278571a64a0ee9fc85873070d68e Mon Sep 17 00:00:00 2001 From: yuzhipeng Date: Tue, 24 Dec 2024 10:40:30 +0800 Subject: [PATCH] Change commit-msg hook.sh address to right place (#21343) Since hook.sh address has moved from `https://cdn.rawgit.com/tommarshall/git-good-commit/v0.6.1/hook.sh` to `https://cdn.jsdelivr.net/gh/tommarshall/git-good-commit@v0.6.1/hook.sh` fix the address to the moved address. Signed-off-by: yuzhipeng --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fd5dea993..ffebd1081 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -312,7 +312,7 @@ The commit message should follow the convention on [How to Write a Git Commit Me To help write conformant commit messages, it is recommended to set up the [git-good-commit](https://github.com/tommarshall/git-good-commit) commit hook. Run this command in the Harbor repo's root directory: ```sh -curl https://cdn.rawgit.com/tommarshall/git-good-commit/v0.6.1/hook.sh > .git/hooks/commit-msg && chmod +x .git/hooks/commit-msg +curl https://cdn.jsdelivr.net/gh/tommarshall/git-good-commit@v0.6.1/hook.sh > .git/hooks/commit-msg && chmod +x .git/hooks/commit-msg ``` ### Automated Testing