In Sourcetree, I have logged in with my Gitlab personal access token with ALL permissions, but it won't let me clone. I'm getting this error when trying to clone my repos
Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://gitlab.com/xxxx/xx.git
Output:
Error: remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://gitlab.com/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied
fatal: Authentication failed for 'https://gitlab.com/xxx/xx.git/'
I have two factor enabled and I already read https://docs.gitlab.com/ee/user/profile/account/two_factor_authentication.html#troubleshooting. What i'm missing?
I have tried Github Desktop software and it works like a charm with my Gitlab personal access token, so it seems SourceTree is broken
I have deleted all Sourcetree related files under "C:\Users\username\AppData\Local\Atlassian" before reinstallation. This worked for me. I don't know exactly why that helped, but I assume there was a temporary file there with a wrong password.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.