Hello all,

After getting stuck on this for over an hour I could use some help.

I'm writing a script that has to pull 10 git repos, all from the same
server.  I just want to prompt for the password the first time, then
pull the rest using the git credential helper.

http://git-scm.com/docs/gitcredentials.html

I tried setting each of:

git config credential.helper cache
git config --global credential.helper cache
sudo git config --global credential.helper cache

and git still prompts for the password every time.

I also tried:

git config credential.helper store
git config --global credential.helper store
sudo git config --global credential.helper store

I verified in the .gitconfig files:

 [credential]
     helper = store

and it still won't save the credentials.

>From what I can tell the ~/.git-credential-cache and
~/.git-credentials directories are never created.  I tried to create
them manually but that did not help.  I also tried chmod 700 on the
directories.

I'm running Ubuntu 14.04.  Has anyone ever had this issue before? Am I
missing some required configuration step?  I may be doing something
wrong, as I've never used the git credential helper before, but from
reading the man pages, it seems like it *should be* a simple setting.

-John

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to