无法从Github桌面应用程序发布到github.com

问题描述:

尝试从Github桌面应用发布到github.com时,出现以下错误.

While trying to publish from Github desktop app to github.com am getting the following error.

GitHub Desktop无法将帐户令牌存储在钥匙串中. 请检查您是否已解锁对登录"钥匙串的访问权限.

GitHub Desktop was unable to store the account token in the keychain. Please check you have unlocked access to the 'login' keychain.

  • 重新登录没有帮助.
  • 更新Github桌面无济于事.
  • 删除了钥匙串工具中有关github的所有条目

这似乎是由于钥匙串处于无效状态引起的,从而影响了尝试使用钥匙串存储或检索凭据的应用程序.似乎特定于macOS High Sierra和Mojave.

This seems to be caused by the Keychain being in an invalid state, affecting applications that try to use the keychain to store or retrieve credentials. Seems to be specific to macOS High Sierra and Mojave.

解决方法:

  • 打开钥匙串Access.app
  • 右键单击登录钥匙串,然后尝试将其锁定
  • 右键单击登录钥匙串,然后尝试将其解锁
  • 再次登录您的GitHub帐户

它就像魅力一样.