How to push with git to github on Windows?
Simply, I can't:
HTTPS push
- Eclipse git plugin doesn't support it (here)
- msygit UI consumes all existing memory and hangs
- turtoisegit c开发者_运维百科onsumes all existing memory and hangs
SSH push
- generated the keypair, but it turns out github does not support putty, only ssh
- I don't want to install cygwin
Well, using the Git bash of msysgit worked:
git push <address>
(the GUI didn't work, even after reinstalling msysgit with different options)
Getting Started with Git and GitHub on Windows has the answer and will guide you through all the steps to start using Git and GitHub from Windows. In a nutshell: install msysgit (Git for Windows) and use it to generate the key.
You are correct that Putty generates a keypair in a different format than OpenSSH does. However, the Putty key generation tool lets you open one of its keys and can then produce an OpenSSH-compatible public key. It looks like this:
You should be able to upload that to GitHub.
Use Git Extensions.
精彩评论