Releases: rvasilevsf/git-hooks
Releases · rvasilevsf/git-hooks
Add support for git clone transport protocol
This release adds support for detecting the protocol from the githooks.json
file. Previously it was assuming all connections are going over https. Now they can go over ssh as well.
Example structure:
{
"pre-commit": {
"ssh://git@my.git.repo:org/repo": [
"script1"
],
"https://my.git.repo/org/repo": [
"script1"
],
"my.git.repo/org/repo": [
"script1"
]
}
}