Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I get 'remote: Invalid credentials' whenever I try to push to my new bitbucket repository

christopher marek July 4, 2023

I have opened a DOS window from my local git repo. I am trying to do a push to the remote repo. A pop up ATLASSIAN comes up with user name cjmarek, and a blank box for me to input a password. I press 'Continue', and then on the dos window I see it telling me 'remote: Invalid credentials.

Password for '
remote: Invalid credentials

I have tried resetting my password. I am able to sign in to the bitbucket website with my reset credentials. But the DOS window to my local repo will not let me push to the remote:

git push -u origin master  or 
git push origin master

My credentials are not accepted as valid.

My email is if you want to reply to me by email.


1 answer

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 5, 2023

G'day @christopher marek 

You are using incorrect credentials, as we no longer accept account passwords for Git. You'll need to generate an App Password as your password credentials. Please check our guide below on how to generate one:

App passwords 

I hope this helps.


Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events