HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/current/.git-hooks/README.md
## Hooks git

#### 1. Copy .git-hooks directory into project

#### 2. Deplace the hooks to the git's hook repository
Execute this command from your local at the root directory of your project
```bash
cp -R .git-hooks/hooks/ .git/hooks
chmod -R 744 .git/hooks
```

#### 3. Change the git's hook path configuration
Execute this command from your local at the root directory of your project
```bash
git config core.hooksPath .git/hooks
```
This command tell to git where he haves to check for hooks.
By default the hooks path is in .git/hooks, but maybe in future other hooks will be create.