-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Git Credential Manager for Ubuntu
Shamik Biswas edited this page Nov 3, 2023
·
5 revisions
- Download the latest package
sudo dpkg -i <path-to-package>
git-credential-manager configure
Official Link for Credential Stores
For more details on pass
-
sudo apt install pass
-
export GCM_CREDENTIAL_STORE=gpg
orgit config --global credential.credentialStore gpg
-
gpg --gen-key
One can always list all the gpg generated keys gpg --list-keys
-
pass init <gpg-public-id>
e.g.pass init 0086A77440BBA63....
pass git init
In case you are facing this error:
fatal: GPG_TTY is not set; add
export GPG_TTY=$(tty) to your profile.
do the following:
export GPG_TTY=$(tty)
or even better add it to your .bashrc