Skip to content

GCM storing creds in the clear when cloning? #915

Answered by mjcheetham
ntset asked this question in Q&A
Discussion options

You must be logged in to vote

When you include the username:password in the remote URL, Git will try to use those credentials in a Authorization: Basic base64(user:pass) header, without calling credential helpers like GCM.

I think however, Git might be calling GCM to store the credential after it's successfully used them, meaning we're sort of being asked to store something redundant - as you said, the credentials are being stored in plaintext in the .git/config file by Git.

If you're going to include credentials in the remote URL (you really shouldn't), there's no need to use GCM.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ldennington
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants