My bitbucket password is correct because I can easily login with this password. When I try to push a project or file to bitbucket it shows Invalid credentials error.
$ git push -u origin master
fatal: Invalid credentials
Password for 'https://[email protected]':
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/mailzahidul/demo.git/'
How can i solve this issue ?
CodePudding user response:
When prompted to login, use your username but instead of your usual account password, use the app password
to get app password
- Go to bitbucket.org website and login
- From your avatar in the bottom left, click Personal settings
- Click App passwords under Access management
- Click Create app password
- Give the app password sufficient rights, and a label related to the application that will use the password
- Don't forget to save that password
CodePudding user response:
Go to credential Manager -> Windown Credential -> Add a generic credential fill up the fields Network address: git:https://bitbucket.org Username: App Password: Solver from Here
CodePudding user response:
open bitbucket.org website and login, After Create App passwords under Access management.bitbucket will give you a new password. Now you will do your commits with this new long password.