git windows

1. The recommended way to use Git on Windows is the msysGit version. It comes bundled with minimal Cygwin support. When you finish installing it, you will have a "Git Bash" icon in your desktop. Double click to open it and now you can use known Linux-like commands, such as "ssh-keygen -t rsa". Just press 'Return' in every question it asks and you will finally have your pair of keys under ".ssh". For example, type "cat ~/.ssh/id_rsa.pub". Thats's the public key that you are required to copy and paste into your account on Gitorious.

2. ssh-keygen -C "[email protected]" -t rsa

3. in windows, folder .ssh can not be created.change to ssh will work

http://dbanck.de/2009/10/08/github-windows-and-tortoisegit-part-1-installing-pulling/

你可能感兴趣的:(linux,windows,git,ssh,bash)