相关疑难解决方法(0)

推送到Git返回错误代码403致命:HTTP请求失败

我能够通过HTTPS身份验证克隆此repo的副本.我做了一些提交,想要推回到GitHub服务器.在Windows 7 x64上使用Cygwin.

C:\cygwin\home\XPherior\Code\lunch_call>git push
Password:
error: The requested URL returned error: 403 while accessing https://MichaelDrog
alis@github.com/derekerdmann/lunch_call.git/info/refs

fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)

同时使用详细模式进行设置.我还是很困惑.

C:\cygwin\home\XPherior\Code\lunch_call>set GIT_CURL_VERBOSE=1

C:\cygwin\home\XPherior\Code\lunch_call>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... * 0x23cb740 is at send pipe head!
* Connected to github.com (207.97.227.239) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: C:\Program Files (x86)\Git/bin/curl-ca-bundle.crt
  CApath: none
* SSL …
Run Code Online (Sandbox Code Playgroud)

git dvcs github

608
推荐指数
23
解决办法
75万
查看次数

在无头linux服务器上使用git客户端

如何强制git-client仅使用控制台/终端.当我ssh到我的远程/无头Linux计算机并尝试运行:

git clone https://myname@bitbucket.org/xxx/xxx.git

git抱怨并给我这个错误:( gnome-ssh-askpass:2769):Gtk-WARNING**:无法打开显示:

我不想使用图形界面也不想使用ssh -X.我只想配置git-client才能使用终端.

我正在使用CentOs并使用yum install git获得git-client.

linux git

13
推荐指数
3
解决办法
9335
查看次数

Git clone error"(gnome-ssh-askpass:11720):Gtk-WARNING**:无法打开显示:"

当我尝试在比特桶中克隆回购时,我收到此错误.

"(gnome-ssh-askpass:11720):Gtk-WARNING**:无法打开显示:"

使用的命令是:

git clone https://user@bitbucket.org/repo.git scripts/
Run Code Online (Sandbox Code Playgroud)

bitbucket

5
推荐指数
1
解决办法
9137
查看次数

标签 统计

git ×2

bitbucket ×1

dvcs ×1

github ×1

linux ×1