Update the scp command to work by default.
authorhttps://launchpad.net/~jhgorse <jhgorse@web>
Mon, 2 Jul 2018 21:08:43 +0000 (17:08 -0400)
committerOpenAFS Wiki <ikiwiki@openafs.org>
Mon, 2 Jul 2018 21:08:43 +0000 (17:08 -0400)
devel/GitDevelopers.mdwn

index f0dd0c0..6e67232 100644 (file)
@@ -245,7 +245,8 @@ Gerrit introduces the concept of "change IDs". This is a unique reference for a
 
 The hook should be downloaded from the [[OpenAFS]] gerrit server by running the following, in the top level of your git tree
 
-    scp -p -P 29418 gerrit.openafs.org:hooks/commit-msg .git/hooks/
+    mkdir -p ~/.git/hooks
+    scp -oStrictHostKeyChecking=no -p -P 29418 gerrit.openafs.org:hooks/commit-msg ~/.git/hooks/
 
 ## <a name="Uploading to gerrit">Uploading to gerrit</a>