Install Git for Windows
This post should help Windows users to install Git and create their SSH key.
To install Git goto http://www.cygwin.com, download and run the installer. In the installer keep on hitting next until your reach the packages selection. There you should make sure to select the git and the openssh packages. Just use the search bar to find them and tick the first checkbox (in the bin column).
Now add C:/cygwin/bin to your path and you can run Git (and generate SSH keys) from the command prompt. If you don’t know about the command prompt and how to add a folder to your path, just bing it
Once that is done, you should be able to run Git from the command prompt. According to the Boston police you are now using two different operating systems to hide your illegal activies. One the regular Windows operating system and the other is a black screen with white font which you use to prompt commands on. Not bad, he? Verify this by running
git --version
This should tell you the version number of your Git installation. (You can of course also use Git from the bash prompt that comes with cygwin. Again, bing for more information.) No matter which prompt you’re using, continue with
ssh-keygen -t rsa
This creates an SSH key for you. You should find the key in the folder C:\cygwin\home\joe\.ssh, where joe is your username. Please mail id_rsa.pub to Patrik so he can setup your group folder on the Git server. Please include the SSH key for both team mates and all machines on which you plan to work.
Important: just keep on pressing Enter when keygen bothers you with questions. If you’ve not done so and need help fixing you keys, please refer to the many ways SSH keygen can fail on you under Windows.
Patrik’s email address is patrik dot rauber at students dot unibe dot ch.
NB: if you are a curious mind you can browse C:/cygwin/bin for all commands that ship with cygwin. There is quite a bit of them. Typically, you can run man command to learn more about a command…