You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `pre-push` git hook should be installed to avoid **project-specific** validation functions (which should be defined and stored under `esdlvalidator/validation/functions/projects/`) from being pushed to an open GitHub repository.
166
+
167
+
This does not affect when pushing changes to the internal gitlab repository (both project-specific functions and generic functions can be pushed to remotes).
168
+
165
169
At the project root, run the command in a bash terminal to set up git hooks.
166
170
167
171
```bash
@@ -175,7 +179,7 @@ Setting up Git hooks...
175
179
✅ Git hook installed: .git/hooks/pre-push
176
180
```
177
181
178
-
The reason for setting up this git hook (`pre-push`) is to block project-specific functions defined under `esdlvalidator/validation/functions/projects/` from being pushed to an open GitHub repository. This does not affect when pushing to the internal gitlab repository.
0 commit comments