简体   繁体   English

如何在Mac上的GitHub Desktop中重置Bitbucket密码?

[英]How to reset Bitbucket password in GitHub Desktop on Mac?

I'm using a Bitbucket repo in GitHub Desktop for Mac. 我正在Mac的GitHub桌面中使用Bitbucket存储库。

Since Atlassian changed my password, GitHub Desktop can't log in anymore and doesn't give me opportunity to provide new password. 由于Atlassian更改了我的密码,因此GitHub Desktop无法登录,也没有给我提供新密码的机会。 It says "Check preferences to make sure you're still logged in", but preferences only talks about GitHub account. 它说“检查首选项以确保您仍然登录”,但首选项仅涉及GitHub帐户。

I'm able to push using command-line git. 我可以使用命令行git推送。

Any ideas how to solve this? 任何想法如何解决这个问题?

Where can I submit issues for GitHub Desktop? 在哪里可以为GitHub Desktop提交问题?

I just found a solution. 我刚刚找到了解决方案。 Open Keychain Access app, search for bitbucket and delete the records where it matches bitbucket.org/mac . 打开“ 钥匙串访问”应用程序,搜索bitbucket并删除与bitbucket.org/mac匹配的记录。

Then try to sync in Github Desktop again, it should ask you the new password. 然后尝试再次在Github Desktop中同步,它会询问您新密码。

如何在github桌面Mac中重置Bitbucket密码

Recently I have faced a problem. 最近我遇到了一个问题。 My password wasn't save in keychain. 我的密码未保存在钥匙串中。 My solution is described below... 我的解决方案如下所述...

  1. Got to the folder ~/Library/Application Support/SourceTree 转到文件夹〜/ Library / Application Support / SourceTree
  2. Delete the file {Username}@STAuth-bitbucket.org 删除文件{Username}@STAuth-bitbucket.org
  3. Restart Sourcetree 重新启动Sourcetree
  4. Try to fetch, password filed appear, give your new password 尝试获取,出现密码字段,输入新密码
  5. Also can run "git fetch" command in terminal and need to type password 也可以在终端中运行“ git fetch”命令,需要输入密码
  6. Done 完成

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM