Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我正在关注GitHub 指南。 但是在执行curl命令后,我在运行时得到以下信息git credential-osxkeychain:
curl
git credential-osxkeychain
/usr/bin/git-credential-osxkeychain: /usr/bin/git-credential-osxkeychain: cannot execute binary file
关于如何解决这个问题的任何想法?
这可能是一个正确的问题,特别是如果您没有执行:
chmod u+x git-credential-osxkeychain
请注意,您需要将该文件下载到您的目录中$PATH(此处应该是这种情况,带有/usr/bin)。
$PATH
/usr/bin
尝试更大一点的 chmod:
chmod 775 git-credential-osxkeychain