Just ran into this Git behavior which looks like a bug with credential-store:
$ git pull
Username for 'https://github.com': ...
Password for 'https://...@github.com': ...
Already up-to-date.
$ git config credential.helper store
$ git pull
remote: Repository not found.
Then, go and edit .git/config to remove [credential] helper = store
and git pull works again.
What could cause it?
How do I use credential helper without running into this error?
UPDATE Using git version 1.9.1 on Ubuntu 14.04
UPDATE Retested with git version 2.9.3, same result.
UPDATE I have several accounts on github in ~/.git-credentials. I ran git with GIT_CURL_VERBOSE=1 GIT_TRACE=1 and it looks like it picks the first github account in the order they're listed.
However .git/config in the repo I'm working in has the correct user.email, which does have a matching entry in ~/.git-credentials. It just doesn't use that entry.