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資格情報マネージャーから認証情報を削除したりもしましたがダメでした。
どなたか解決策を恵んでください…
コミュニティのご利用ありがとうございます。
HTTPSでの認証時はパスワードとしてアプリパスワードを使用していますでしょうか。
https://support.atlassian.com/ja/bitbucket-cloud/docs/app-passwords/
ご返信ありがとうございます。お世話になっております。
認証にアプリパスワードは使用していませんでした。
上記のURLを参考にアプリパスワードを作成して認証方法を変更し、リモートリポジトリに、コミットした内容をプッシュしようとしたところまた同じエラーが発生し、プッシュ出来ませんでした。
アプリパスワードの権限はすべて許可に設定して新規に作成しました。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.