特定のPCでCloneができなくなった

Matsui Shunsuke May 30, 2022

ある時までCloneができていたPCにてCloneができなくなった。

そのほかのPCでは同じアカウント、リポジトリからCloneはできる。

考えられる原因をご教示願いたい

なお、以下のエラーメッセージに対する操作(App passwords設定)は実施済みです。

-----------------------------------------------------------------------

コマンド: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://MatuiSyunsuke@bitbucket.org/ookubohiroki/hotel_x.git
出力:
エラー: remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:は
remote: https://bitbucket.org/account/settings/app-passwords/
fatal: Authentication failed for 'https://bitbucket.org/ookubohiroki/hotel_x.git/'

Go to the bitbucket.org website and log in with your account credentials.
From your avatar in the bottom left, click Personal settings.
Click App passwords under Access management.
Click Create App password.

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2022

Hi @Matsui Shunsuke 

Welcome to the community!

I believe your local config may still be using your old password to authenticate; hence you are getting the error message.

As per our community post here you'll need to reinstall the apps with the latest version and remove your store password from the Windows credential manager with the following folder path:

  • Navigate to C:\Users\<UserName>\AppData\Local and delete all Sourcetree folders and files (if any)

  • Navigate to C:\Users\<UserName>\AppData\Local\Atlassian and delete all Sourcetree folders and files (if any)

  • Navigate to C:\Users\<UserName>\AppData\Roaming\Atlassian and delete all Sourcetree folders and files (if any)

Make sure to use the latest version of Sourcetree to ensure you are up to date.

Cheers,
Syahrul

 

***IMPORTANT***: Please note that reinstalling Sourcetree will remove all preferences and settings you may have. So, please ensure you backup the referenced folders/files below before proceeding.

  • Backup ALL Sourcetree folders and files (if any) located in C:\Users\<UserName>\AppData\Local

  • Backup ALL Sourcetree folders and files (if any) located in C:\Users\<UserName>\AppData\Local\Atlassian

  • Backup ALL Sourcetree folders and files (if any) located in C:\Users\<UserName>\AppData\Roaming\Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events