Skip to content

Commit

Permalink
Change commit-msg hook.sh address to right place (#21343)
Browse files Browse the repository at this point in the history
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 <yuzp1996@gmail.com>
  • Loading branch information
yuzp1996 authored Dec 24, 2024
1 parent a548ab7 commit d7ab265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7ab265

Please sign in to comment.