Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events