mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-08 08:57:45 +01:00
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 <yuzp1996@gmail.com>
This commit is contained in:
parent
a548ab705f
commit
d7ab265b10
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user