Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8801717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:54:21+00:00 2026-06-14T00:54:21+00:00

My team transferred our tfs from an old server to a new one a

  • 0

My team transferred our tfs from an old server to a new one a little bit ago. We are using git tfs to manage our local changes and to push them into tfs.

However I am running into an issue when I clone a exsisting repo from tfs like so

git tfs clone http://our.new.tfs/tfs $/project "myrepo"

Git is able to connect to the new server and pull everything down. I can then make changes and commit them with no problem. It isn’t until I try to do a git tfs pull or git tfs checkintool this I get an error saying:

Unable to locate a remote for <http://our.old.tfs/tfs>$/project

When I check the config the url is defined as http://our.new.tfs/tfs so I do not know where it is getting the idea to pull from the old server.

I have tried deleting the remotes section from the config file and do a git tfs init [remote] but still the same error comes up. I have even scraped the repo and started with a fresh clone but still the same thing. It always points to the old server and not the new one.

I have been looking online for hours but with no luck in finding a solution. Please let me know if you can provide any helpful advice!

Thank you in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:54:22+00:00Added an answer on June 14, 2026 at 12:54 am

    I actually found my answer so I will post it here in case anyone else runs into the same issue!

    You have to add your old url to the list of legacy-urls like so:

    git config tfs-remote.default.legacy-urls http://your.old.url/
    

    I hope that helps for anyone that has or will be pulling their hair out in the future!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our team is currently using some ported code from an old architecture to a
Our team is creating a new recruitment workflow system to replace an old one.
Our team started using mercurial about a month ago and it was a rough
Our team is pretty new with testing. We are using scrum for the first
my team have built many tools for our project using win forms and Visual
Our team is now beginning to look at jumping from 2.0 to 3.5 and
Our team is writing its first JSF 2.0 application since using Stripes for many
My team is using Oracle Membership Provider to help manage users for a .NET
Our team has experimented with git submodules for some core CRUD functionality shared by
Our team has been using Mercurial for a while now and everything has been

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.