On Tuesday 23 December 2014 21:29:09 Light, John J wrote:
> I seem to have lost my Change-Id hook, since my attempt at pushing failed.
> I can't find the instructions for installing the change-id hook (I'm a git
> newbie.)
>
> I'm trying to get my code into M2, but my push fails because the hook is
> missing. (Where did it go?)
>
> This is time critical, so I can't ask my usual sources.
Hi John
First, log in to your Gerrit account and upload your SSH key. You can't get
the hook without first doing that. After thatn go into your repository and do:
scp -gerrit.iotivity.org:hooks/commit-msg .git/hooks/
The above assumes you've also configured your ~/.ssh/config, including the
proxy
access. If you haven't done that, please see
https://wiki.iotivity.org/how_to_use_gerrit
Note: you can just copy the hook from any other Gerrit-based repository. It's
the same.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center