sourcegit-scm/sourcegit

save credentials ?

Closed this issue · 3 comments

I'm on Ubuntu 24.10, using sourcegit 2025.4

each time I fetch or push it opens gti-credential-manager asking for credentials

how I can make for sourcegit/gcm to remember the credentials?

I don't know if it is as bad on Ubuntu, but from my experience on Debian I would advice you to use SSH keys instead of Git-Credential-Manager. Setting up SSH keys is pretty easy on linux, there are graphical interfaces to do it.

If I'm not mistaken the only (secure) option for a real credential storage (not cache) on Linux is SecretService. But there's a long standing issue that makes it basically unusable (git-ecosystem/git-credential-manager#694). I've used GCM on Debian for years without having this issue, but it (or something similar) recently started happening for me and I had to switch to SSH keys.