For accessing the git server, you should check that 1) "git remote show origin" (or "git remote show gerrit" - depends on your git-review version + config) returns ssh://<gerrit user>@ gerrit.wikimedia.org:29418/<project name> as the push & fetch URL 2) "ssh -p 29418 <gerrit user>@gerrit.wikimedia.org" returns something like "Welcome to Gerrit Code Review"
If the first does not work, there are problems with your git-review config (maybe check the [gitreview] section in your ~/.gitconfig). If the second does not work, ssh authentication is not set up correctly (key forwarding is not enabled or the right key is not available). This could also be the reason for the hook not working as git-review tries to load it via scp.
On Tue, Sep 23, 2014 at 2:26 AM, Isarra Yos zhorishna@gmail.com wrote:
Hi, I had to switch computers the other day, which resulted in my having to reinstall git-review, and now it... doesn't work. Basically there are two problems: for every new repository I use, I now need to add a commit-msg hook to the .git directory, and also ssh doesn't work at all, so I have to use https login every time.
Does anyone know how to fix either of these? They are both incredibly annoying and make it borderline unusable (in particular because I have no idea what my password is).
Thanks.
-I
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l