TFS:将一个分支中本地完成的更改提交到另一个分支
我对很多文件进行了更改,同时我想我宁愿将这些未经测试的代码提交到尚未创建的分支,这样现有代码库的用户就不会受到影响。
由于我接触了很多很多文件并创建和添加了新的子项目等,我想避免手动复制文件和文件夹。
在 Visual Studio 中完成此操作的最简单方法是什么?
I made changes to a lot of files, and in the meantime I figured I rather commit this untested code to a yet-to-be-created branch, so that users of the existing code base are not affected.
As I touched really many, many files and created and added new sub-projects etc., I want to avoid copying files and folders manually.
What's the easiest way to get this done in Visual Studio?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此功能是使用
tfpt unshelve /migrate
提供的。要使用它,请按照下列步骤操作:tf shelve . /R
)tfpt unshelve /migrate /source:$/TeamProject/Main /target:$/TeamProject/Beta
这实际上会重写搁置集中的路径到新分行。
This functionality is provided using
tfpt unshelve /migrate
. To use it, follow these steps:tf shelve . /R
)tfpt unshelve /migrate /source:$/TeamProject/Main /target:$/TeamProject/Beta
This will essentially re-write the paths in your shelveset to the new branch.