Created
July 21, 2020 08:59
-
-
Save P403n1x87/62fddacaa6c3db4c0d6dcb6bc74d7177 to your computer and use it in GitHub Desktop.
Store git credentials securely on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
sudo apt-get -y install libsecret-1-0 libsecret-1-dev libglib2.0-dev | |
sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret | |
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment