Ask git to remember your credentials

I searched for the tenth time how to tell git to remember my credentials in github, then it is time to make a little note to myself.

I am running a few instances of Ubuntu, and each time I want to make a pull from Github I need to enter my username and password.

To tell git to remember them, just do

git config credential.helper store

and then

git pull

After entering name and password one last time, those details will be remembered later. The credentials are stored in the disk, with the disk permissions. In my case, that is good enough.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

2 thoughts on “Ask git to remember your credentials

  1. Jason

    Yes! This is exactly what I was looking for and couldn’t find it in the other top results. Thanks!

Leave a Reply

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