Sourcetree 不断要求与 Mercurial (Kiln) 进行身份验证?
我正在使用 SourceTree 运行最新的 Lion。
我尝试连接到 Fogbugz Kiln 存储库,结果成功了,但每当我 PUSH 或 PULL Sourcetree 时,尽管我将其保存到我的 KeyChain 中,但它始终要求我输入用户名和密码。有人对这个问题有任何见解吗?
I'm running Lion latest with SourceTree.
I tried to connect to a Fogbugz Kiln reponsitory, which succeeded, but whenever I PUSH or PULL Sourcetree consistently asks me for a username and password despite I saved it to my KeyChain. Anyone have any insight to this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
这帮助我在 Mac 中解决了这个问题:
This helped me solve this issue in a mac:
我也有同样的问题,我使用系统 git 而不是嵌入的 git 修复了它:
设置 -> git->使用系统git
I had the same and I fixed it using the system git instead of the embedded one:
Settings -> git -> Use System git
打开终端并输入 git config --global credential.helper osxkeychain
当询问时允许访问。从sourcetree中拉取,您可能需要再次输入密码,从下次开始就不会再询问了。
PS:此解决方案仅适用于 Mac 操作系统
Open terminal and Type
git config --global credential.helper osxkeychain
Allow access when asked. Make a pull from sourcetree, you may have to enter password one more time after that it wont ask again from next time onwards.
PS: This solution is only for Mac OS
我偶尔会遇到同样的问题。这里列出的方法实际上都没有帮助我,但是在我重新启动计算机后,我再次能够使用 SourceTree 和 git 做我想做的事情。
尽管如此,这个问题还是很烦人,而且自从最初的问题发布以来,Atlassian 在 3 年多的时间里都没有解决这个问题,这更令人不安。
I occasionally run into the same problem. None of the methods listed here actually helped me out, but after I restart my computer, I am again able to do as I please with SourceTree and git.
Nevertheless this issues is annoying as hell and seeing that Atlassian haven't resolved it in over 3 years, since the original question was posted, is even more unnerving.
我遇到了同样的问题,并且困扰了我很长时间,但我找到了解决方案:
#git pull
I had the same problem and it troubled me for a long time, but I found a solution:
#git pull
我遇到了同样的问题,我所做的是
github.com
的条目)这解决了问题(或至少对我来说),但在某种意义上使它不太安全。
I met the same problem, what I did is
github.com
)This solves the problem (or at least for me), but in some sense makes it less secure though.
正如 Laurens 在评论中所说,您可以通过 jira.atlassian.com(项目 SRCTREE)向我们提出问题。如果您已将凭据保存到钥匙串,则它不应该不断要求进行身份验证,除非存在身份验证问题。
干杯
As said by Laurens in the comment, you can file an issue with us via jira.atlassian.com (project SRCTREE). It shouldn't constantly ask for authentication if you've saved your credentials to the keychain unless there's an authentication problem.
Cheers
在这一切上浪费了 90 分钟。 Sourcetree 根本不让我删除我的帐户并将其添加回来。最后卸载并下载了旧版本:
https://www.sourcetreeapp.com/download-archives
1.10 版解决了我的所有问题:
Wasted 90 minutes on all this. Sourcetree simply would not let me remove my account and add it back. Finally uninstalled and downloaded an older version:
https://www.sourcetreeapp.com/download-archives
ver 1.10 fixed all my issues: