# HG changeset patch # User Mads Kiilerich # Date 2020-11-20 15:15:23 # Node ID 92894fccc6158efc3374dd4b05c6cad48ef982a4 # Parent 8c781cb03412d4d07c067118f38c2fcc23d7df1e repo-scan: recommend running this to reinstall Git hooks after upgrading It would be too invasive to fully automate this. diff --git a/docs/upgrade.rst b/docs/upgrade.rst --- a/docs/upgrade.rst +++ b/docs/upgrade.rst @@ -232,7 +232,11 @@ It is possible that an upgrade involves Kallithea. As these hooks are created inside the repositories on the server filesystem, they are not updated automatically when upgrading Kallithea itself. -To update the hooks of your Git repositories: +To update the hooks of your Git repositories, run:: + + kallithea-cli repo-scan -c my.ini --install-git-hooks + +Or: * Go to *Admin > Settings > Remap and Rescan* * Select the checkbox *Install Git hooks*