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

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

daniel_fort February 2, 2019

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 comment
TAGS
AUG Leaders

Atlassian Community Events