Mercurial > kallithea
changeset 8776:92894fccc615
repo-scan: recommend running this to reinstall Git hooks after upgrading
It would be too invasive to fully automate this.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 20 Nov 2020 16:15:23 +0100 |
parents | 8c781cb03412 |
children | 7e9e1f3d7a93 |
files | docs/upgrade.rst |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/upgrade.rst Fri Nov 20 16:10:30 2020 +0100 +++ b/docs/upgrade.rst Fri Nov 20 16:15:23 2020 +0100 @@ -232,7 +232,11 @@ 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*