Hi Atlassian community,
I'm working with one github repo currently, and I need to add another that I will be working with, but when I want to clone a new repo from remote (github), it's telling me:
"warning: redirecting to <current repo>"
So it just downloads the old repo instead...
I reinstalled git and sourcetree on my machine (windows), but problem persists.
I tried cloning from commandline, but I get the same result.
Havn't found anything on google about such an issue, so I'm quite clueless of where to even look. I'd be very grateful for any help.
I have found the solution to my problem, apparently Git somehow created a config file in C:\AppData\Git which had the url to my previous repository, I'm still not sure how this file was created but seems that sourcetree used it by default instead of its own config. So I just removed that config file and cloned another repository without problem.
Hi @Yogesh Mude,
Thank you for replying, it's not something in git, it is something in my local machine because a co-employee can clone another repo without problem. The question is why it writes me that it redirects to another repo, is there some config file that can state such a thing in sourcetree or git?
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events