Last active
December 21, 2020 09:54
-
-
Save jiayuasu/8bab8ecb0234dfc280264fb587fd8b01 to your computer and use it in GitHub Desktop.
This file contains 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
https://github.com/pstadler/keybase-gpg-github/issues/11 | |
For some reason I had to setup the GPG TTY variable on my bash when I tried to sign my commit (i.e. -S flag) because of passphrase, which is new to me since I usually have the passphrase prompt within my terminal, so who knows, might be a new GPG version. | |
Anyway, fixed it with: | |
GPG_TTY=$(tty) | |
export GPG_TTY | |
Might be worth adding it to the README.md under common issues and/or what not. | |
Cache GitHub password for 15 minutes | |
git config --global credential.helper cache | |
... which tells Git to keep your password cached in memory for (by default) 15 minutes. You can set a longer timeout with: | |
git config --global credential.helper "cache --timeout=3600" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment