File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 11
11
12
12
1 . [ Create volume directory] ( #create-volume-directory )
13
13
1 . [ Running Locally with Intelij] ( #running-locally-with-intelij )
14
+ 1 . [ Installing and Using Pre-Commit] ( #installing-and-using-pre-commit )
14
15
15
16
## Create volume directory
16
17
@@ -50,3 +51,27 @@ API Setup
50
51
51
52
52
53
[ AB2D Deploy] ( Deploy/README.md )
54
+
55
+ ## Installing and Using Pre-commit
56
+
57
+ Anyone committing to this repo must use the pre-commit hook to lower the likelihood that secrets will be exposed.
58
+
59
+ ### Step 1: Install pre-commit
60
+
61
+ You can install pre-commit using the MacOS package manager Homebrew:
62
+
63
+ ``` sh
64
+ brew install pre-commit
65
+ ```
66
+
67
+ Other installation options can be found in the [ pre-commit documentation] ( https://pre-commit.com/#install ) .
68
+
69
+ ### Step 2: Install the hooks
70
+
71
+ Run the following command to install the gitleaks hook:
72
+
73
+ ``` sh
74
+ pre-commit install
75
+ ```
76
+
77
+ This will download and install the pre-commit hooks specified in ` .pre-commit-config.yaml ` .
You can’t perform that action at this time.
0 commit comments