git - macOS Sierra 更新后无法同步 git

标签 git github

更新到 macOS Sierra 10.12 后,我无法再同步到 gutHub。从我得到的桌面软件

You may not have permission to access [project]. Check Preferences to make sure you’re still logged in.

我已经检查并登录,并且绝对有权访问该存储库。

在命令行我得到

Permission denied (publickey). fatal: Could not read from remote repository.

最佳答案

我有这个问题。事实证明,Sierra 从代理中删除了我的 SSH 身份。我不得不从终端再次添加它:

ssh-add ~/.ssh/id_rsa

然后 Github 应用程序再次开始同步。

关于git - macOS Sierra 更新后无法同步 git,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39720493/

相关文章:

git:归咎于给定提交中更改的每一行的先前版本

github - 将带有 123-reg 的域名链接到 Github Pages

r - GitHub 显示来自 README.rmd 的所有代码块(尽管 include=FALSE)

git - 将 git repo 从 Google Code 迁移到 Github

git - git标签可以重用吗

windows - 如何在不杀死其他cmd的情况下杀死一个cmd进程?

git - 为什么 git 子模块不会在 git checkout 上自动更新?

windows - 如何从 Windows 7 中删除 git 版本 1.9.4msysgit.2?

Git:git push -u origin 来源:master

html - 如何将可下载文件添加到我的 Github.io 页面?