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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Jodi LeBlanc
Posted 15 hours ago in Off-topic

Friday Fun: How do you recharge your batteries after a busy week?

Happy Friday – Fun Day! I don’t know about you, but I have been giving everything I’ve got this week (and most weeks) and come Friday I look for unique ways to recharge my batteries - rest, relax, a...

145 views 21 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