Jump to content

Topic on Talk:Gerrit/git-review

Using GitHub for Windows

1
Rillke (talkcontribs)

GitHub for windows ships with a portable git version whose executables are also added to %PATH%. In case you have trouble to connect, use ssh -vvv username@gerrit.wikimedia.org -p 29418

  • I had to modify the C:\Users\<user>\AppData\Local\GitHub\PortableGit_<hash>\etc\ssh\ssh_config file extending it with:
Host gerrit.wikimedia.org
	StrictHostKeyChecking no
	UserKnownHostsFile=/dev/null
	IdentityFile=C:/Users/<username>/.ssh/id_rsa

Of course C:/Users/<username>/.ssh/id_rsa must contain the private SSH key.

  • A successful connect will then look similar to:
Reply to "Using GitHub for Windows"