Forked from P403n1x87/git-credential-helper-libsecret.sh
Created
October 26, 2023 02:45
-
-
Save kchawla-pi/912292aa39a2bbdd8f885f60fea17cbf 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