I'm getting the following error when attempting to clone my remote repo. Thanks for any ideas on how to fix. ThanksCommand: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://velvetfist@bitbucket.org/Hickz/crystalseas-v2.gitOutput: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 credentialsfatal: 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
It looks like you're new here. Sign in or register to get started.