Skip to content

Instantly share code, notes, and snippets.

@sluugdemogithub
Last active January 12, 2022 23:20
Show Gist options
  • Save sluugdemogithub/0938e7284f89e348fdc42f406ec97c22 to your computer and use it in GitHub Desktop.
Save sluugdemogithub/0938e7284f89e348fdc42f406ec97c22 to your computer and use it in GitHub Desktop.
Setting up Git Credential Manager
cd /tmp/
curl -L -O https://github.com/GitCredentialManager/git-credential-manager/releases/download/v2.0.632/gcmcore-linux_amd64.2.0.632.34631.deb
sudo dpkg -i gcmcore-linux_amd64.2.0.632.34631.deb
git config --list
git config credential.helper
git config --global credential.helper manager-core
git config --global credential.interactive true
git config --global credential.gitHubAuthModes "oauth,basic,pat"
git config --global credential.credentialStore cache
git config --global credential.cacheOptions "--timeout 6000"
git config --list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment