I tried to migrate Git repository to TFS with all history using git-tf. I used the following command lines:
git tf --force configure http://tfs.YYYY.net/tfs/Collection '$\RepositoryName'
git tf checkin --deep --autosquash --preview
The problem is that in the end the git-tfs-id is
git-tfs-id: [http://tfs-server.YYYY.net:8080]$/RepositoryName;C32524
and the changesets are not on TFS.
Do you have any idea why this is happening?
Thank you!
My guess would be that the server is not configured correctly. It has a internal url and a public one, it looks like the server is configured to broadcast its internal name.
The public URL is what's sent back to the client, the internal name is what's used internally on the server and by an optional load balancer.
During setup:
After setup:
See also:
In case of a migrated server, it could also be an issue with your local workspace cache. Try refreshing the cache explicitly against the new server:
That could also be your local workspace cache is dirty. Try explicitly refreshing the cache and optionally deleting the old workspaces from your computer: ` Try running below command to refresh the cache:
Or removing them from your local workspace cache explicitly before adding them again: