I have a folder F;\Repos\Git\ that contains about 20 git repositories that I have used on previous computers with both SourceTree and Eclipse. I copied my F drive over to a new computer and I'm trying to set up SourceTree. I just want to tell SourceTree that all my local git repos are in F:\Repos\Git\. I cannot find a way to do this. So I tried to bring in one of the repos (e.g. F:\Repos\Git\TestRepo) but SourceTree tells me it isn't a valid Git or Mercurial repo.)
It shouldn't this hard to do something this basic. And no, I don't want to reclone each of the repos from the remote servers.
First, check your repo URL to which it is pointing ..using below command
$ git remote -v
If it is pointing to another/wrong location/repo then just change the URL in Source Tree please have a look at the below article..
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