Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to push with git to github on Windows?

Tags:

git

github

Simply, I can't:

  • HTTPS push

    • Eclipse git plugin doesn't support it (here)
    • msygit UI consumes all existing memory and hangs
    • turtoisegit consumes 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
like image 844
Bozho Avatar asked Sep 05 '10 03:09

Bozho


People also ask

How do I push Git to GitHub?

Initialize the local directory as a Git repository. Stage and commit all the files in your project. To create a repository for your project on GitHub, use the gh repo create subcommand. When prompted, select Push an existing local repository to GitHub and enter the desired name for your repository.


2 Answers

Well, using the Git bash of msysgit worked:

git push <address>

(the GUI didn't work, even after reinstalling msysgit with different options)

like image 127
Bozho Avatar answered Oct 08 '22 07:10

Bozho


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.

like image 26
namin Avatar answered Oct 08 '22 09:10

namin