简体   繁体   English

从TFS移植到Git

[英]Porting from TFS to Git

I am popular with TFS for a long time but now I am required to port to Git. 我在TFS上流行了很长时间,但是现在我需要移植到Git。 After some days, I have some problems I need your helps: 几天后,我遇到一些问题,需要您的帮助:

  • TFS defines WorkItem and checkins will be put in this WorkItem. TFS定义了WorkItem,签入将放入此WorkItem中。 I easily get all changed files in WorkItem to create a deployment packages. 我可以轻松获取WorkItem中所有已更改的文件来创建部署包。 WorkItem is awesome in TFS because when I have 2 tasks which run in same time, I create 2 WorkItem for each task, I easily check-in files in WorkItem I want. TItem中的WorkItem很棒,因为当我同时运行2个任务时,我为每个任务创建2个WorkItem,因此可以轻松地在所需的WorkItem中检入文件。 Now on Git, I don't find this feature. 现在在Git上,我找不到此功能。

  • How to archive only changed files in selected commits (1 or more commits). 如何仅归档选定提交(1个或多个提交)中的更改文件。 I am using TortoiseGit like a GUI and Git Source Control Visual Studio Extension. 我正在像GUI和Git源代码控制Visual Studio扩展那样使用TortoiseGit。 Please help me on them. 请帮助我。 I don't like to use command line. 我不喜欢使用命令行。

Thanks. 谢谢。

Git is a version control system, TFS is version control as well as many other things like task management, build servers, etc. Git是一个版本控制系统,TFS是版本控制以及任务管理,构建服务器等许多其他功能。

To get the functionality you are after (if I understand you correctly) you would need to integrate git with visual studio. 要获得您想要的功能(如果我理解正确的话),您需要将git与Visual Studio集成在一起。

Luckily microsoft is working on something that may help. 幸运的是,微软正在努力做一些有帮助的事情。

http://www.hanselman.com/blog/GitSupportForVisualStudioGitTFSAndVSPutIntoContext.aspx http://www.hanselman.com/blog/GitSupportForVisualStudioGitTFSAndVSPutIntoContext.aspx

Additionally check out the git-tfs commands. 另外检查git-tfs命令。 It appears some of them allow you to resolve work items 看来其中有些可以让您解决工作项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM