Skip to content

Commit a0f69e3

Browse files
authored
docs: fix protocol to prevent MITM (antonbabenko#257)
1 parent 2973f85 commit a0f69e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
repos:
2-
- repo: git://github.com/pre-commit/pre-commit-hooks
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
33
rev: v4.0.1
44
hooks:
55
# Git style
@@ -28,7 +28,7 @@ repos:
2828
- id: detect-private-key
2929

3030

31-
- repo: git://github.com/jumanjihouse/pre-commit-hooks
31+
- repo: https://github.com/jumanjihouse/pre-commit-hooks
3232
rev: 2.1.5
3333
hooks:
3434
- id: shfmt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Step into the repository you want to have the pre-commit hooks installed and run
144144
git init
145145
cat <<EOF > .pre-commit-config.yaml
146146
repos:
147-
- repo: git://github.com/antonbabenko/pre-commit-terraform
147+
- repo: https://github.com/antonbabenko/pre-commit-terraform
148148
rev: <VERSION> # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
149149
hooks:
150150
- id: terraform_fmt

0 commit comments

Comments
 (0)