相关疑难解决方法(0)

推送到GitHub错误:无法在.netrc文件中找到主机github.com; 使用默认值

Dunno发生了什么事,没有github对此问题的回应所以我在这里问.在一个月左右的时间里第一次尝试了一个git push并得到了这个.打开导出GIT_CURL_VERBOSE = 1并进行推送并获取此信息:

localhost:send2mobile_rails phil$ git push
Password: 
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
*   Trying 207.97.227.239... * Connected to github.com (207.97.227.239) port 443 (#0)
* SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
*    subject: O=*.github.com; OU=Domain Control Validated; CN=*.github.com
*    start date: 2009-12-11 05:02:36 GMT
*    expire date: 2014-12-11 05:02:36 GMT
*    subjectAltName: github.com matched
*    issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certificates.godaddy.com/repository; CN=Go …
Run Code Online (Sandbox Code Playgroud)

git github git-push

17
推荐指数
3
解决办法
3万
查看次数

标签 统计

git ×1

git-push ×1

github ×1