错误:git-credential-osxkeychain死于信号11

我已经安装github版本0.8.4,但是当我尝试从git获取某些东西时,它显示此消息。

Fetching all tracking branches from Queue-iOS completed successfully. command: git fetch Queue-iOS error: git-credential-osxkeychain died of signal 11 error: git-credential-osxkeychain died of signal 11 error: git-credential-osxkeychain died of signal 11 error: git-credential-osxkeychain died of signal 11 From https://github.com/appstute/Queue-iOS 59bb075..b2da838 master -> Queue-iOS/master 

这是关于钥匙串的问题,当我从git集线器拉,显示以下消息

 Pulling all tracking branches from Queue-iOS encountered an error. command: git pull Queue-iOS error: git-credential-osxkeychain died of signal 11 error: git-credential-osxkeychain died of signal 11 error: git-credential-osxkeychain died of signal 11 error: git-credential-osxkeychain died of signal 11 You asked to pull from the remote 'Queue-iOS', but did not specify a branch. Because this is not the default configured remote for your current branch, you must specify a branch on the command line. error = 1 

这里Queue-iOS是我在git上configuration的本地文件夹。 请帮忙。

我正在使用Mac OS X 10.7.5。 我最近下载了适用于Mac的git 1.8.1.2。 安装好后,运行时遇到同样的信号11错误信息:

$git credential-osxkeychain

反过来运行:

/usr/local/git/bin/git-credential-osxkeychain

信号11是SEGFAULT这可能表示一个错误(例如解引用空指针)与git-credential-osxkeychain程序。

我遵循caching你的github密码的指示,并从S3 git-credential-osxkeychain的新副本。 这解决了这个问题。 新的副本是不同的大小,这让我猜测错误已经修补。

同时,我相信在configuration文件中使用像git@github.com:yang3wei/octopress-3-in-one这样的URL也可以解决这个问题,因为它绕过了HTTPS,并且在不调用密钥链助手的地方使用SSH任何更多。

错误消息正在由git 凭证助手引发。 这应该是一个让git避免在每次推送时都要求input用户名和密码的方法(请看这里 )。

我不知道为什么它会死,但是,如果你想停止使用它(并避免看到错误信息),请删除你的系统gitconfig文件。

在我的系统(OSX 10.6.8)上,我使用了: sudo rm /usr/local/git/etc/gitconfig因为文件中的唯一设置是用于凭证助手。 首先检查你的!

既然你得到了两条死亡消息,你也可以在你自己的~/.gitconfig文件甚至你的项目中设置。 编辑这些并删除凭证帮助程序块。

正如你所说,与证书助手的问题不会停止工作的git。 下一步是找出帮手失败的原因!

我知道了! 尝试修改项目根目录中.git / config文件的内容。

 [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true [remote "origin"] url = https://github.com/yang3wei/octopress-3-in-one.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master 

至:

 [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true [remote "origin"] url = git@github.com:yang3wei/octopress-3-in-one fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master 

每次我做一个git pull的时候,我都有同样的错误。 我意识到我没有从Mac版的“Where Where's Mac版”获得的git-credential二进制文件: https : //github.com/blog/1104-credential-caching-for-wrist-friendly-git-usage并遵循那里提到的步骤。 它开始按我期望的方式工作。 希望这可以帮助!

当我试图在升级后使用git版本git-credential-osxkeychain died of signal 11时,出现以下错误: git-credential-osxkeychain died of signal 11当我在做git pull时,我会变得fatal: https://github.com/.../../info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?

我猜它必须做我以前在钥匙串无效的github凭证。

  • 使用命令空间打开钥匙串访问工具
  • 在钥匙串访问工具中searchgithub
  • 删除了所有与github相关的条目(因为我不再需要它)
  • 接下来设置git密码caching部分再次设置git
  • 有效

https://help.github.com/articles/set-up-git

这篇文章修复了我。

我在git中遇到了类似的问题:git-credential-osxkeychain死于信号11

不要从http复制repo,因为每次需要进行validation时都需要进行validation

我正在使用SourceTree(在Mac上),我有同样的问题。

首先,我在terminal中input了以下命令:

 curl -s -O \ https://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain chmod u+x git-credential-osxkeychain sudo mv git-credential-osxkeychain \ "$(dirname $(which git))/git-credential-osxkeychain" git config --global credential.helper osxkeychain 

然后我不得不在SourceTree中切换到系统git:

SourceTree>首选项> Git>使用系统Git