docs(REVIEWS): update commit-msg hook instructions

Gerrit instructions now recommend fetching the commit-msg hook via HTTP
in all three cases, we should do the same.

Change-Id: I12d5784ccacd3ea68fb81fc15508b209a22cd2c1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9745
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
Florian Klink 2023-10-16 10:23:57 +01:00 committed by clbot
parent 70b4eadb5f
commit 2133929fbf

View file

@ -35,7 +35,8 @@ a commit hook should be installed as follows:
``` ```
git clone "ssh://$USER@code.tvl.fyi:29418/depot" git clone "ssh://$USER@code.tvl.fyi:29418/depot"
scp -pOP 29418 $USER@code.tvl.fyi:hooks/commit-msg "depot/.git/hooks/" curl -Lo depot/.git/hooks/commit-msg https://cl.tvl.fyi/tools/hooks/commit-msg
chmod +x depot/.git/hooks/commit-msg
``` ```
If you have a previous clone of the depot via HTTP you can use `git remote If you have a previous clone of the depot via HTTP you can use `git remote