Home

WayneCarl Barker's Portfolio/ Blog

Go Back

Only have to login to github once a day

WayneCarl

July 21, 2023

Use the following commands to store your credentials for a set amount of time

Setting Passwords:

git config --global credential.helper store

git config --global credential.helper 'cache --timeout=32400'

The above makes it so you only have to put it in once every working day

Unsetting Saved Passwords and store: git config --global --unset credential.helper