This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developer:getting_started:windows [2015/10/30 00:36] Bryan Sullivan |
developer:getting_started:windows [2016/01/07 16:43] (current) Mark D. Gray |
||
---|---|---|---|
Line 10: | Line 10: | ||
===== Using Git for Windows ===== | ===== Using Git for Windows ===== | ||
- | This procedure will be clarified as needed and will be re-tested to make sure nothing is missing. | + | This procedure will be clarified as needed and will be re-tested to make sure nothing is missing, superfluous, or redundant. Any input is appreciated. |
* Install Putty (the ZIP file or installer package) from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html | * Install Putty (the ZIP file or installer package) from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html | ||
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 |