Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 错误:git凭证osxkeychain因信号11而死亡_Ios_Git_Github_Keychain - Fatal编程技术网

Ios 错误:git凭证osxkeychain因信号11而死亡

Ios 错误:git凭证osxkeychain因信号11而死亡,ios,git,github,keychain,Ios,Git,Github,Keychain,我已经安装了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

我已经安装了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 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上配置的本地文件夹。请帮助。

git正在抛出错误消息。这应该是git避免在每次推送时询问您的用户名和密码的一种方式(请参阅)

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

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

由于您将收到两条死亡消息,因此您可能在自己的
~/.gitconfig
文件甚至您的项目中也有此设置。编辑这些并删除凭证帮助程序块


正如您所指出的,凭证助手的问题并没有阻止git工作。下一步是找出助手失败的原因

我每次拉git都会犯同样的错误。我意识到我没有从中获得的git凭证二进制文件(Mac版本在哪里?): 并遵循上面提到的步骤。它开始按我预期的方式工作。 希望这有帮助

我明白了! 尝试修改项目根目录中.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
致:


我正在使用MacOSX10.7.5。我最近下载了适用于Mac的Git1.8.1.2。安装后,我在运行时遇到了相同的signal 11错误消息:

$git凭证osxkeychain

这反过来又运行:

/usr/local/git/bin/git凭证osxkeychain

信号11为SEGFAULT,可能表示git credential osxkeychain程序存在错误(例如,取消对空指针的引用)

我按照上的说明从S3中抓取了一份新的
git credential osxkeychain
。这就解决了问题。新拷贝的大小不同,这让我猜这个bug已经被修补了


同时,我相信使用像
git@github.com:配置中的yang3wei/octopress-3-in-one
也可以解决这个问题,因为它绕过HTTPS,在不再调用key-chain helper的情况下使用SSH。

升级后尝试使用git版本1.8.1.3时,我遇到了以下错误:

git凭证osxkeychain因信号11而死亡
当我做git pull时,我会

致命:未找到:是否在服务器上运行git update server info?

我猜这与我以前在密钥链中的无效github凭据有关

  • 使用命令空间打开钥匙链访问工具
  • 在keychain访问工具中搜索github
  • 删除了所有与github相关的条目(因为我不再需要它)
  • 再次执行设置git密码缓存部分
  • 它起作用了

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

从http开始不克隆repo,因为每次需要执行推或拉操作时都需要验证

我正在使用SourceTree(在Mac上),我也遇到了同样的问题

首先,我在终端中输入了以下命令:

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中切换到system git:


SourceTree>Preferences>Git>UseSystem Git

我以某种方式解决了这个问题,现在,如果我从github拉或推某些东西,则不会出现钥匙链错误消息。我所做的是使用下面的链接并下载了git文件,上面的问题没有发生。我还从应用程序中删除了我现有的git文件,并首先做了所有事情。我不知道钥匙链问题是否在内部得到解决,但我的问题暂时得到了解决。谢谢你们的建议。通过
sudorm/usr/local/git/etc/gitconfig删除
为我解决了这个问题。如OP所述,请确保您的配置仅包含凭据帮助程序。我安装了git svn,这开始发生,删除该文件解决了它。为我工作-我还怀疑我拥有的git credential osxkeychain的任何版本中都存在错误。对于任何阅读者,这个答案都是100%正确的,特别是对于较旧的安装,如OS X 10.6.8。由于git工具设置错误,git引擎将凭据错误地提供给github,上面的更正解决了这一问题。您需要为每个项目分别执行此操作,因为配置文件是特定于该项目的。谢谢,杨伟!已确认,也在OS X 10.6.8下。(谢谢)这篇文章为我修正了它。
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