Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do GitHub HTTPS schemes always ask for my password?

Tags:

git

github

I cloned a repo at git hub via the https:// protocol to avoid setting up the SSH key stuff. This is all good except every time I push it asks for my password. Is there any way to get git to cache my password?

like image 634
phil swenson Avatar asked Nov 23 '10 01:11

phil swenson


2 Answers

You will see an ssh-agent to store the password. There are ways to cache your password listed here.

like image 194
elmt Avatar answered Sep 22 '22 00:09

elmt


You may want GitHub's credential caching for Smart HTTP. According to the blog post, it only works with Windows and OS X, so you should use the GIT protocol instead if you're on a Linux or Unix workstation.

like image 23
Todd A. Jacobs Avatar answered Sep 18 '22 00:09

Todd A. Jacobs