如何在Windows上将git推到github上? [英] How to push with git to github on Windows?

查看:107
本文介绍了如何在Windows上将git推到github上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单地说,我不能:


  • HTTPS推送


    • Eclipse git插件不支持它( here

    • msygit UI消耗所有现有内存并挂起

    • turtoisegit消耗所有现有内存并挂起b $ b

  • SSH推送


    • 生成了密钥对,但原来github不支持putty,只有ssh

    • 我不想安装cygwin



解决方案

那么,使用msysgit的Git bash工作:

  git push<地址> 

(即使使用不同的选项重新安装msysgit,GUI也不起作用)


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

解决方案

Well, using the Git bash of msysgit worked:

git push <address>

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

这篇关于如何在Windows上将git推到github上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆