I’m trying to use the GNU Git GUI client, first to clone a repo, under Windows 10. I chose this application because it comes with the GNU Git Bash shell for Windows, which I’ve been using for years. It won’t let me clone a repo from my company’s GitLab server.
I got this message box:
[title bar] Git Gui: error
[content] Clone failed.
Cannot fetch branches and objects. See console output for details.
The console says, “fatal: unable to update url base from redirection:” (followed by the URL of the repo and “redirect: https:/<repo_url>/users/sign_in”.)
Apparently GitLab asked Git GUI to sign in, and it couldn’t handle that. It seems to me that the solution should be to sign in manually, then clone the repo. But I can’t sign in because I’m already signed in. After I got this error I browsed the repo URL and got the repo’s home page in GitLab, with my account icon in the upper right corner; When I clicked the icon I got a dropdown with my account name and a “Sign out” option. Then I tried cloning the repo from the Git Bash shell, and it worked just fine.
And once I had cloned the repo, Git Gui was able to open it just fine. So perhaps it only has a problem cloning things. Any suggestions?