Git Save Credentials Permanently

I do not want to enter my github/gitlab passwords every single time I want to push something. This snippet helps store git password.

svelte logo

Want a Svelte site built?
Hire Me.

If you want to save your git passwords permanently then use this snippet.

git config --global credential.helper store

This saves the password as a plain text file on the computer with the name .git-credentials. Anyone else using your computer can also see your password.

Refer: git credential store

Let's discuss on Twitter

Copyrights © webjeda