I'm getting the following error when attempting to clone my remote repo. Thanks for any ideas on how to fix. Thanks
Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://velvetfist@bitbucket.org/Hickz/crystalseas-v2.git
Output:
Error: git credential-manager" get: -c: line 1: unexpected EOF while looking for matching `"'
git credential-manager" erase: -c: line 1: unexpected EOF while looking for matching `"'
remote: Invalid credentials
fatal: Authentication failed for 'https://bitbucket.org/Hickz/crystalseas-v2.git/'
Hi @velvetfist
Welcome to the Atlassian Community
This looks like a broken credential.helper entry rather than a real authentication problem. The shell is choking on a quoting issue in that value, which is why you see the odd EOF error before it even gets to Bitbucket.
I would simplify it to just: git config --global credential.helper manager
That should let Git resolve the helper itself instead of relying on a hardcoded path. If Sourcetree bundles its own Git, confirm under Tools > Options > Git that it points to that same Git installation, not a second with a different config.
Cheers, Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.