Git-TF将更改推送到错误的服务器上

问题描述 投票:0回答:1

我尝试使用git-tf将所有历史记录的Git存储库迁移到TFS。我使用了以下命令行:

git tf --force configure http://tfs.YYYY.net/tfs/Collection '$\RepositoryName'
git tf checkin --deep --autosquash --preview

问题是,最后git-tfs-id是

git-tfs-id:[http:// tfs-server .YYYY.net:8080] $ / RepositoryName; C32524

并且变更集不在TFS上。

您知道为什么会这样吗?

谢谢!

git tfs version-control tfs-migration git-tf
1个回答
0
投票

我的猜测是服务器配置不正确。它具有一个内部URL和一个公共URL,看起来服务器已配置为广播其内部名称。

公共URL是发送回客户端的内容,内部名称是服务器内部以及可选的负载平衡器使用的内部名称。

设置期间:

enter image description here

设置后:

enter image description here

另请参见:

© www.soinside.com 2019 - 2024. All rights reserved.