How to store your Github credentials username and password so that you don’t have to type it every time on the command line

First do:

git config credential.helper store

Then do:

git pull

Warning:

The storage format is a .git-credentials file, stored in plain-text! You might want to do it through an IDE such as PhpStorm which uses a token instead.

Reference:
https://stackoverflow.com/questions/35942754/how-to-save-username-and-password-in-git

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top