This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
developer:getting_started:windows [2015/10/30 00:43] Bryan Sullivan |
developer:getting_started:windows [2016/01/07 16:43] (current) Mark D. Gray |
||
---|---|---|---|
Line 67: | Line 67: | ||
scp -p -P 29418 (your gerrit ID)@(your gerrit server domain, e.g. gerrit.example.com):hooks/commit-msg .git/hooks/ | scp -p -P 29418 (your gerrit ID)@(your gerrit server domain, e.g. gerrit.example.com):hooks/commit-msg .git/hooks/ | ||
</code> | </code> | ||
+ | * If you do not have ssh access you can also get this via http | ||
+ | <code> | ||
+ | curl -Lo .git/hooks/commit-msg gerrit.opnfv.org/gerrit/tools/hooks/commit-msg | ||
+ | chmod +x .git/hooks/commit-msg</code> | ||
* Install Python (3.5 or greater) per the "Windows" section of https://www.mediawiki.org/wiki/Gerrit/git-review | * Install Python (3.5 or greater) per the "Windows" section of https://www.mediawiki.org/wiki/Gerrit/git-review | ||
* Select "Add to Path" option | * Select "Add to Path" option |