Sourcetree 不断要求与 Mercurial (Kiln) 进行身份验证?

发布于 2025-01-01 09:09:29 字数 156 浏览 4 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

埋葬我深情 2025-01-08 09:09:29

这帮助我在 Mac 中解决了这个问题:

  1. 通过单击“查看”>“托管存储库”窗口打开“托管存储库”窗口。显示托管存储库或 Command + Shift + H。
  2. 单击编辑帐户
  3. 双击您的帐户
  4. 单击设置密码

This helped me solve this issue in a mac:

  1. Open the Hosted Repositories window by clicking View > Show Hosted Repositories or Command + Shift + H.
  2. Click Edit Accounts
  3. Double-click on your account
  4. Click Set Password
那些过往 2025-01-08 09:09:29

我也有同样的问题,我使用系统 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

夏の忆 2025-01-08 09:09:29

打开终端并输入 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

标点 2025-01-08 09:09:29

我偶尔会遇到同样的问题。这里列出的方法实际上都没有帮助我,但是在我重新启动计算机后,我再次能够使用 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.

遗弃M 2025-01-08 09:09:29

我遇到了同样的问题,并且困扰了我很长时间,但我找到了解决方案:

  1. 转到项目文件夹中的终端。
  2. 运行 #git pull
  3. 输入您的用户名和密码
  4. 返回到 sourceTree 并运行 Fetch 或 Pull,它不会再次询问您的密码。

I had the same problem and it troubled me for a long time, but I found a solution:

  1. Go to terminal in your project folder.
  2. Run #git pull
  3. Input your username and password
  4. Go back to sourceTree and run Fetch or Pull, it does not ask for your password again.
初懵 2025-01-08 09:09:29

我遇到了同样的问题,我所做的是

  1. 打开钥匙串访问
  2. 找到您的存储库相应的钥匙串条目,然后双击打开(例如名称为github.com的条目)
  3. 单击“访问控制”选择
  4. “允许所有应用程序访问此项目”并保存更改

这解决了问题(或至少对我来说),但在某种意义上使它不太安全。

I met the same problem, what I did is

  1. Open Keychain Access
  2. Find the corresponding keychain entry for your repo, and double click to open (e.g. the entry with name github.com)
  3. Click the 'Access Control' tag
  4. Select 'Allow all applications to access this item' and save changes

This solves the problem (or at least for me), but in some sense makes it less secure though.

甜是你 2025-01-08 09:09:29

正如 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

娇妻 2025-01-08 09:09:29

在这一切上浪费了 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:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文