Getting started with Git in Windows

I am going with git-bash since it doesn’t mess up my Windows installation. Also it is more than enough for standard tasks. Get git from http://git-scm.com/download/win. Install git-bash, its a straight forward process. 

We need to generate ssh keys for communicating with either  http://github.com or http://bitbucket.org. If you already have keys from a Linux or Mac, you can use that. Just copy your ~/.ssh to your home directory in Windows. To generate new keys, open git-bash and do

ssh-keygen

Have a decent pass-phrase, or else it would just defeat the purpose. Lastly copy your public key and publish it to Github or Bitbucket.

PS: If you are going to use Github, they have a native application for Windows that will guide you through the process.

comments powered by Disqus