How To Remember Your Git Credentials Forever

How To Remember Your Git Credentials Forever


Mar 16 2018, 11:06 in Web Development

Tired of always having to type your login and password when executing git pull on your server? So do I.

Here's an helper command that will remember your credentials so you don't have to type anything than your pull command.

This is particularly helpful when you are using a deployment pipeline that will ssh onto your server and execute a git pull command. 

Here's the magic helper:

git config credential.helper store


Share: