mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-08 13:13:47 -05:00
text change
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
This folder contains git hooks which will be executed on the client side before certain git actions are completed.
|
||||
This folder contains git hook scripts which will be executed on the client side before/after certain git actions are completed.
|
||||
|
||||
## Usage
|
||||
On each local system these files must be symlinked into `repo/.git/hooks` directory.
|
||||
To install these hooks, create a symlink to `/path/to/repo/.git/hooks` directory.
|
||||
|
||||
|
||||
```bash
|
||||
ln -s "$(git rev-parse --show-toplevel)/.hooks/pre-commit.sh" "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
|
||||
|
||||
Reference in New Issue
Block a user