For all how are using Sourcetree under windows OS and Mercurial as Versioning tool and want to get rid of this boring popup for asking your for credentials:
- start cmd shell as admin
- Change path to where git-credential-manager.exe as been installed (normaly under ~\AppData\Local\Atlassian\SourceTree\git_extras)
- call "git-credential-manager.exe store"
- in the next lines fill in:
protocol=https
host=code.domain.name
username=yourLoginName
password=yourLoginPassword
then press return for a new empty line. If you don't get any message, everything is okay.