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


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.


Share this article

Leave a Reply

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

Scroll to Top