https://support.tohero.fr/projects/public/wiki/Git_Hooks
In order to run correctly, git-hooks need Python and in case it's missing you must run
sudo apt install python
Run as normal user:
git clone --depth=1 [email protected]:toHero/git-hooks.git /tmp/tohero-git-hooks >/dev/null 2>&1 && \
/tmp/tohero-git-hooks/scripts/install.sh && \
rm -rf /tmp/tohero-git-hooks
Run as normal user:
/usr/local/share/tohero/git-hooks/scripts/uninstall.sh
Run as normal user:
cd /usr/local/share/tohero/git-hooks && \
git pull
Run as normal user in the reposiroty to initialise:
/usr/local/share/tohero/git-hooks/scripts/init-repo.sh