简体   繁体   English

在TFS中进行代码检查,而无需进行新的更改

[英]Code check in in TFS without a new changeset

I am new to TFS.I had checked in the code through VS 2015 in TFS.A changeset was generated. 我是TFS的新手,我已经在TFS中通过VS 2015检入了代码,生成了一个变更集。 Now I need to edit the code and check in with the earlier changeset.Is there any way I can edit the code without a new changeset getting created. 现在我需要编辑代码并签入较早的变更集。有什么方法可以编辑代码而无需创建新的变更集。

不可以。TFVC签入是不可变的,无法重写。

When you check in your changes, they are stored on the server as a changeset. 当您签入更改时,它们将作为更改集存储在服务器上。 TFS creates a changeset every time you do a checkin . 每次您签入时,TFS都会创建一个变更集 All the files that are checked in together are included in the changeset. 一起签入的所有文件都包含在变更集中。 Changesets contain the history of each item in version control. 变更集包含版本控制中每个项目的历史记录 And history in TFS is immutable. TFS中的历史是一成不变的。

You could go through this blog TFS Basics–Changeset for more detail concept of it. 您可以浏览TFS基础知识-变更集博客,以了解更多详细信息。

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

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