build: add pre-commit hook template
This commit is contained in:
parent
eeae2e69f3
commit
d03f1ca906
2 changed files with 22 additions and 1 deletions
12
README.md
12
README.md
|
|
@ -1 +1,11 @@
|
|||
# dots
|
||||
# dots
|
||||
## build
|
||||
### `keep-sorted` pre-commit hook
|
||||
copy the pre-commit hook to `.git/hooks`
|
||||
```bash
|
||||
cp .pre-commit .git/hooks/pre-commit
|
||||
```
|
||||
make it executable
|
||||
```bash
|
||||
chmod +x .git/hooks/pre-commit
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue