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

Cannot log in via Sourcetree

When I try to push I am asked to log in. I can log in to my bitbucket account via browser. I was able to log in via Sourcetree up until now. Now I cannot, I get this message:

 

"git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for 'https://username@bitbucket.org/username/reponame.git/'

Pushing to https://username@bitbucket.org/username/reponame.git
Completed with errors, see above."

1 comment

I'm getting something similar with a Mercurial repository. Just started happening a couple of days ago. Tried the suggested fixes that I found here but nothing works. No issues pushing from the terminal so at least this isn't a show stopper.

 

hg push --new-branch default
pushing to https://bitbucket.org/daniel_fort/magic-lantern
searching for changes
abort: authorization failed
abort: authorization failed
pushing to https://bitbucket.org/daniel_fort/magic-lantern
searching for changes
abort: authorization failed
pushing to https://bitbucket.org/daniel_fort/magic-lantern
searching for changes
abort: authorization failed
pushing to https://bitbucket.org/daniel_fort/magic-lantern
searching for changes
Completed with errors, see above

 

Comment

Log in or Sign up to
This widget could not be displayed.
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,365 views 4 11
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