Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

fatal: Authentication failed for ''



getting below error for push/pull file in bitbucket.


git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream web master:master
remote: Unauthorized
fatal: Authentication failed for ''

Pushing to
Completed with errors, see above.

1 answer

0 votes
Mike Corsaro Atlassian Team Jun 26, 2019

Hello! Looks like you don't have the right credentials for that repository. Do you see a login prompt when attempting to push?


If not, could you try installing the git-credential-manager-for-windows, restart Sourcetree, and then see if you get a prompt?



Am able to sess login prompt , m entrying correct password and login id, but error the same i try many time ,but it same.

  same username and password am able to login with web. same is not working with sourcetree or git bash.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,119 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you