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

Login issue with Sourcetree

Hi Team,

 

Few of our organisation users are facing issue with Sourcetree while cloning source code from Bitbucket through https://.

They are asked for their credential number of times, also getting below error in source tree (version 2.6.9)

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/abc/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE" ls-remote https://<bitbucket repository.git>

Output:

Error: fatal: HttpRequestException encountered.

   An error occurred while sending the request.

remote: Invalid username or password. If your organization manages your account or you've enabled two-step verification, create an app password to log in: https://confluence.atlassian.com/x/9DJmMQ

fatal: Authentication failed for 'https://<bitbucket repository.git>'

 

But rest of the other users are able to access via same steps and setting.

 

A solution /workaround would be highly appreciated.

1 answer

0 votes
Daniel Eads Atlassian Team Aug 08, 2018

Hi Mona,

There do seem to be some issues currently with Microsoft's Git Credential Manager (GCM). Uninstalling GCM should resolve the issue you're seeing. There are a few ways to go about doing this but the process documented here should help out.

After that, git should allow you to store credentials in the gitconfig itself. 

Cheers,
Daniel

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