So, here's what we're trying to do:
$ git config --global credential.helper store
$ git config --global user.name myname
$ git config --global user.password mypassword
$ tmpdir=`mktemp -d`
$ cd $tmpdir
$ git init
$ git remote add origin <https github URL ending in .git>
$ git pull
When $ git pull
runs, I'm prompted for username & password again. My understanding is that once I've set the username & password globally, shouldn't git
automatically pick up on that? I need to be running these steps as a part of an automation feature and providing username & password explicitly in the https git url (or via tha prompt) wouldn't help.
How do I set it up so I don't have to manually provide the credentials at all times?