リモートリポジトリをプッシュ出来ない

saito_haru
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 13, 2023

Bitbucketで作成したリポジトリをプルした後、内容をコミットしプッシュしようとしたところこのようなエラーが出ました

以下がプッシュ時のエラー文です

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
remote: Invalid credentials
fatal: Authentication failed for 'https://bitbucket.org/saito-haru/gittest/src/master/'

Pushing to https://bitbucket.org/saito-haru/gittest/src/master/

オプションからホスティングアカウント認証をし、認証に成功と出たのですが解決せず…
Bitbucketのアカウントをログインし直したり、Sorcetreeの再インストールをしてみたり、Windows資格情報マネージャーから認証情報を削除したりもしましたがダメでした。

スクリーンショット 2023-12-13 180631.png

どなたか解決策を恵んでください…

1 answer

0 votes
Chung Jeon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2024

コミュニティのご利用ありがとうございます。

HTTPSでの認証時はパスワードとしてアプリパスワードを使用していますでしょうか。
https://support.atlassian.com/ja/bitbucket-cloud/docs/app-passwords/

saito_haru
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 5, 2024

ご返信ありがとうございます。お世話になっております。
認証にアプリパスワードは使用していませんでした。


上記のURLを参考にアプリパスワードを作成して認証方法を変更し、リモートリポジトリに、コミットした内容をプッシュしようとしたところまた同じエラーが発生し、プッシュ出来ませんでした。

アプリパスワードの権限はすべて許可に設定して新規に作成しました。

スクリーンショット 2024-03-06 084246.pngスクリーンショット 2024-03-06 084817.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events