TFS 中的取消上架:这是什么意思?
这是我得到的部分:当您搁置在 TFS 中时,它会生成更改的服务器副本,这样它们就不会丢失,但不会将它们签入您正在处理的源代码主干/分支中。
问:什么情况下会使用“取消搁置”功能?这是否意味着它将从 TFS 服务器中删除搁置集?你能从书架上获取吗?或者它真的只是搁置集和“真实”源代码之间的差异描述?
Here's the part I get: When you shelve in TFS, it makes a server copy of the changes so they are not lost, but does not check them into the source code trunk/branch you are working on.
Question: Under what circumstances would you use the "unshelve" feature? Does it mean it will remove the shelveset from the TFS server? Can you do a get from a shelveset? Or is it really just a diff description between the shelveset and the "real" source code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
发布评论
评论(3)
~没有更多了~
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
取消搁置是将搁置组恢复到机器上的方法,以便您可以继续处理它。它不会更改服务器上的搁置集(为此,您需要再次搁置事物并使用相同的搁置集名称)。
我如何使用它的一个例子是在我处理机器时在机器之间移动更改。我会将其搁置在台式机上,然后将其取消搁置在笔记本电脑上,然后继续在笔记本电脑上工作。
您还可以使用它与某人共享更改(出于代码审查或其他原因)。您搁置更改,然后其他人可以取消搁置更改以查看您所做的操作。
取消搁置实际上不会更改搁置集或服务器上的任何其他内容。这只是一个 get 操作。
Unshelving is how you restore the shelveset to your machine so you can keep working on it. It doesn't change the shelveset on the server (to do that you need to shelve things again and use the same shelveset name).
One example for how I use it is to move changes between machines while I'm working on them. I'll shelve it on my desktop machine, then unshelve it on the laptop and then continue working on the laptop.
You can also use it to share changes with someone (for code reviews or other reasons). You shelve your changes, then the other person can go and unshelve it to see what you've done.
Unshelving doesn't actually change the shelveset or anything else on the server. It's just a get operation.