DEV Community

Discussion on: Useful GIT Config Tips

Collapse
 
devmount profile image
Andreas

Thanks Orie for sharing your git config tips! Didn't know about the --replace-all flag yet 👏

Concerning safety it is important to mention, that git config credential.helper store stores your credentials unencrypted in plain text on your disk (under ~/.git-credentials). It is recommended using either git-credential-cache or a helper that handles encryption.

Just saying for those with setups where store is an unacceptable security tradeoff 😇

Collapse
 
nedsoft profile image
Chinedu Orie

Great point Andreas, I didn't know about git-credential-cache before now. Thanks for sharing!