Reputation: 1599
Every time I authenticate to github on a shared computer I need to delete my creds from keychain.
Is there a way to permanently turning this off for all repos?
Upvotes: 3
Views: 554
Reputation: 1324935
Make sure the credential helper is declared "globally", meaning at your account level.
But if, by shared, you mean "using the same account", then yes, you can
git config --global --unset-all credential.helper
GIT_SSH_COMMAND to ~/.ssh/my_actual_private_key
)That way, even if you are using only one account on the shared computer, you can still reference a credential which references you, and only you.
Upvotes: 0