6

Pushing my first_app to git hub using cygwin on a windows 7 machine. Using the command git push origin master I get no response. Seems like it hangs and I have to ctrl c. I have already added my ssh key to github... Thanks.

  • Best to use msysgit (but make sure to set the variable HOME: http://stackoverflow.com/questions/10122439/msysgit-and-ssh-config-missing/10122865#10122865), or their own GitHub tool: http://windows.github.com/ – VonC Aug 11 '12 at 19:44
  • THanks VonC that did the trick – ChangeAgent Aug 19 '12 at 17:17
  • Excellent. I have added an answer below making that option (msysgit instead of cygwin) clearer. – VonC Aug 19 '12 at 17:20
  • 1
    Wait, so is the only option to do this to use the msysgit provided bash window? I love my cygwin :( I don't use my ssh keys to commit to github, just password. Could swear this worked perfectly yesterday, but now it decided to hang. – Jeroen Baert Aug 23 '13 at 14:10

1 Answers1

2

As mentioned in the comments, using msysgit or GitHub for Windows (which includes msysgit) is a safer choice.

It will access your key at HOME, which will be by default under %HOMEDRIVE%\%HOMEPATH% unless you define HOME explicitly: see "MSysGit and ssh config. missing" for more.

Community
  • 1
  • 1
VonC
  • 1,042,979
  • 435
  • 3,649
  • 4,283