Search code examples
gitcredentials

How do I decorrupt "git credential-'store"?


After generating a new Repository and adding an README, I try to push it to Git, but the following error occurs.

git credential-'store get: -c: line 0: unexpected EOF while looking for matching `''
git credential-'store get: -c: line 1: syntax error: unexpected end of file
git credential-'store get: -c: line 0: unexpected EOF while looking for matching `''
git credential-'store get: -c: line 1: syntax error: unexpected end of file

While global an local credentials are correct.

How Do I correct this error?

Where Do I find that file, that causes it?


Solution

  • You can find the file containing the offending bit of config by running git config --list --show-origin.

    Just edit the file to remove the bad line of config and you should be good