我已经安装了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
这是一个关于钥匙串(keychain)的问题, 当我从 git hub pull 时,显示以下消息
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上配置的本地文件夹。请帮忙。
最佳答案
我使用的是 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 your github password 上的说明进行操作并从 S3 中获取一份新的 git-credential-osxkeychain
副本。这解决了问题。新副本的大小不同,这让我猜测错误已被修补。
与此同时,我相信在配置中使用像 git@github.com:yang3wei/octopress-3-in-one
这样的 URL 也应该可以解决这个问题,因为它会绕过 HTTPS 并使用SSH 而不是不再调用 key 链助手。
关于ios - 错误 : git-credential-osxkeychain died of signal 11,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14272634/