githooks: add docs prefix
In the process, update the README to point to how to add the githooks folder. I had to go to aports to find the command. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077>
This commit is contained in:
parent
6adc515825
commit
22e782faae
2 changed files with 15 additions and 0 deletions
|
|
@ -12,3 +12,12 @@ Helpful resources:
|
|||
* [Alpine Linux aports](https://gitlab.alpinelinux.org/alpine/aports/)
|
||||
* [Alpine Linux package search](https://pkgs.alpinelinux.org/packages)
|
||||
* [postmarketOS package search](https://pkgs.postmarketos.org/packages)
|
||||
|
||||
## Git Hooks
|
||||
|
||||
You can find some useful git hooks in the `.githooks` directory.
|
||||
To use them, run the following command after cloning this repository:
|
||||
|
||||
```sh
|
||||
git config --local core.hooksPath .githooks
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue