Skip to content

Instantly share code, notes, and snippets.

View Scallion3008's full-sized avatar

Ada Ho Scallion3008

  • Singapore
View GitHub Profile
@maelvls
maelvls / README.md
Last active July 21, 2025 08:44
Ubuntu, libsecret, git-credential-helper

Dealing with secrets

GNOME comes with libsecret. You can use libsecret to store your git credentials:

sudo apt install libsecret-1-0 libsecret-1-dev libglib2.0-dev
sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret