Create
cancel
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

Authentication Problems

I am quite new about Sourcetree and bitbucket so perhaps my problemis "stupid", in any way when I try to push somthing from sourcetree to bitbucket I have the following error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
remote: Invalid username or password
fatal: Authentication failed for 'https://bitbucket.org/mazzoni1/ecad.git/'

Pushing to https://mazzoni1@bitbucket.org/mazzoni1/ecad.git
Completed with errors, see above.

 

even if opening the tab Authentication in Tools >> Optionts I have Authentication Ok corrisdponding to my userid, clicking the button Remote, I can access to bitbucket repository (of course I was able to clone the repository from bitbucket to sourcetree)

If someone can help me, it would be very appreciate

Thank you

Tiziano 

1 answer

Hi Tiziano, I have the same problem.. Instead if Bitbucket, I use GitHub.

If I go to Authentication page, I can see "Authentication OK" and there is my correct username, but when I try to clone a repository from GitHub, I have this:

Error: remote: invalid username or password

fatal: Authentication failed for xxxxxxx

 

Please someone can help me? 

Thank you very much

Brian 

Suggest an answer

Log in or Sign up to answer
TAGS
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...

5,757 views 4 12
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