Skip to content

Instantly share code, notes, and snippets.

@dtxe
Created January 4, 2024 18:36
Show Gist options
  • Save dtxe/46ac24324e7463d9989187bbe668d3c4 to your computer and use it in GitHub Desktop.
Save dtxe/46ac24324e7463d9989187bbe668d3c4 to your computer and use it in GitHub Desktop.
Install and configure GCM using defaults for DSI course
#!/bin/bash
# download gcm
wget https://github.com/git-ecosystem/git-credential-manager/releases/download/v2.4.1/gcm-linux_amd64.2.4.1.deb
sudo apt install ./gcm-linux_amd64.2.4.1.deb
# configure
git-credential-manager configure
git config --global credential.credentialStore cache
git config --global credential.cacheOptions "--timeout 14400"
# cleanup
rm gcm-linux_amd64.2.4.1.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment