Always to fillin credentials for git-credential-manager even when I work only with mercurial sourcet Edited

I have got SourceTree 1.10.23.1.

Working with mercurial but not with git.

When I pull or push from sourcetree a window popup comes with:

Git Credential Manager for Windows

Enter your credentials for https://code.foo.ba/

Then I have to fillin always my credentials to work with which is boring...

My question how to avoid this?

Thank you

2 answers

Hi,

I have a pretty similar problem, though mine is worse... I have both Git and Mercurial repos in the same SourceTree.

I try to push to Mercurial and the Git Credentials Manager comes up. I type in my credentials and it just comes up again, they aren't accepted even though they are correct for Git. If I push to a Git repo it works fine.

I have enabled mercurial_keyring via the sourcetree options but if I try to push from a command prompt I get a warning that it cannot find mercurial_keyring. Don't know if this is why it switched to Git. I am using an embedded mercurial, switching to the system Mercurial doesn't work.

Only way to push to hg now is from the command prompt, with the system hg. Annoying...

 

Thanks, seems to work for me!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 07, 2018 in Off-topic

Friday Fun: Dry T-Shirt Competition - What's your BEST (Atlassian) T-Shirt!?

[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...

373 views 27 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you