TFS 2012 回滚与永久删除变更集? [英] TFS 2012 rollback vs permanent delete changeset?

查看:39
本文介绍了TFS 2012 回滚与永久删除变更集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有人不小心将演出 (10GB) 的音乐文件提交到 TFS,管理员是否有办法实际删除变更集?不 - 我不是说回滚 - 回滚仍然保留历史文件.这对数据库中的 10GB 垃圾没有帮助.有什么想法吗?

If someone accidentally commits gigs (10GB) of music files to TFS is there a way for the admin to actually DELETE a changeset? And no - I don't mean rollback - rollback still keeps the files in history. This is not helpful with 10GB of garbage in the database. Any ideas?

推荐答案

对我有用的解决方案 - 转储 TFS 作为源代码控制并使用 Git.新 TFS 中的 Git 集成使这变得非常容易,尤其是使用 Git-TF 之类的工具 (https://gittf.codeplex.com/),它允许您将完整的提交历史从 TFS 迁移到 Git.Git 允许您根据需要重写/更改历史记录,并且是一个更灵活的源代码控制系统.

Solution that worked for me - dump TFS as source control and use Git. The Git integration in the new TFS makes this really easy, especially with a tool like Git-TF (https://gittf.codeplex.com/), which allows you to migrate your full commit history from TFS to Git. Git allows you to rewrite/alter history as required and is all around a more flexible source control system.

这篇关于TFS 2012 回滚与永久删除变更集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆