Skip to content

Save credentials using git config --global user.name #22327

Discussion options

You must be logged in to vote

You can use:

git config --global credential.helper cache

 This command prevent git to ask username and password, not forever but with a default limit to 15 minutes.

To change this limit you can run:

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

This move the default limit to 1 hours.

You can find all this information on help.github.

Hope this helps 🙂  

-Gabriele-

Mark helpful posts with Accept as Solution to help other users locate important info. Don’t forget to give Kudos for great content!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants