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

SourceTree not letting me push changes

When I try to push my changes in sourcetree, it gives me a a popup for Bitbucket login. I have changed my password twice and on logging in, it shows me the following error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks 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://pooja1993@bitbucket.org/bbqh/androidtablet.git/'

Pushing to https://pooja1993@bitbucket.org/bbqh/androidtablet.git
Completed with errors, see above.

 

Thank you!

 

 

1 answer

0 votes
Mike Corsaro Atlassian Team May 14, 2019

Hello! Are you using Windows or Mac? Additionally, which version of Sourcetree are you using?

Hi! I am using Windows. I am using Sourcetree version 3.1.3.3158.

Mike Corsaro Atlassian Team May 14, 2019

Could you try the following?

  • Open Tools > Options
  • Go to "Authentication" and remove the Bitbucket accounts you're using (including the entries under "Git")
  • Then re-add your Bitbucket account by clicking Add
  • When adding the account, make sure the "Authentication" is set to "OAuth" and hit "Refresh OAuth Token"
  • Hit "OK"
  • Try to push to your repository again

Hi Mike,

I am getting the following error now:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
fatal: HttpRequestException encountered.
An error occurred while sending the request.

remote: Invalid username or password
fatal: Authentication failed for 'https://pooja1993@bitbucket.org/bbqh/androidtablet.git/'

Pushing to https://pooja1993@bitbucket.org/bbqh/androidtablet.git
Completed with errors, see above.

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,935 views 0 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