Last active
June 28, 2018 07:08
-
-
Save naranjja/c03bf4f8d8a073f7ba3c8fa2e1ddaf30 to your computer and use it in GitHub Desktop.
Save Git credentials on different *buntu distros
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
sudo apt-get install ksshaskpass | |
git config --global core.askpass /usr/bin/ksshaskpass | |
# unset with git config --global --unset-all core.askpass |
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
sudo apt-get install libgnome-keyring-dev | |
cd /usr/share/doc/git/contrib/credential/gnome-keyring | |
sudo make | |
git config --global credential.helper /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring | |
# unset with git config --global --unset-all credential.helper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment