Goto https://github.com/git-ecosystem/git-credential-manager/releases/tag/v2.6.0 and download latest release
# get the latest gcm
wget https://github.com/git-ecosystem/git-credential-manager/releases/download/v2.6.0/gcm-linux_amd64.2.6.0.deb
sudo apt-get install ./gcm-linux_amd64.2.6.0.deb
sudo apt-get install pass
# generate a gpg key
gpg --gen-key
pass init 53DE2658ABE808AF2CC3CAA8E40D959BC610792B
git config --global credential.credentialStore gpg
git credential-manager configure
git credential-manager github login
# choose login with code and goto https://github.com/login/device...
0 Comments