Skip to content

Setup Git Credential Manager for Ubuntu

Shamik Biswas edited this page Jan 31, 2023 · 5 revisions

Installation of Git Credential Manager

Official Link for Ubuntu

  • Download the latest package
  • sudo dpkg -i <path-to-package>
  • git-credential-manager configure

Store Credentials in pass and initialise it as a git repository to track your saved passwords

For more details on pass

  • sudo apt install pass

  • export GCM_CREDENTIAL_STORE=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

Clone this wiki locally