我已经删除了我目录中的所有文件.我怎样才能让他们回来? [英] I've deleted all the files in my directory. How can I get them back?

查看:60
本文介绍了我已经删除了我目录中的所有文件.我怎样才能让他们回来?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Perforce 的新手,老实说,我讨厌它.我的 c:\workspaces\perforce 目录中有大约 20 个文件,我选择了所有文件并按下了删除键.在我删除它们之前,它们都已签入.我一直在拔头发,试图弄清楚如何让它们恢复原状(Perforce 太不直观了),但对于像我这样的 n00b 来说,没有什么能脱颖而出.
如何将最新修订版从 Perforce 取回目录?

I'm new to Perforce and, to be honest, I'm hating it. I had about 20 files in my c:\workspaces\perforce directory and I selected all of them and hit the delete key. They were all checked in before I deleted them. I've been pulling my hair out trying to figure out how to get them back (Perforce is sooooo unintuitive) but there's nothing that stands out to a n00b like me to.
How can I get the latest revisions back into the directory from Perforce?

推荐答案

您需要进行强制同步.

在命令行上:

$> p4 sync -f

在 P4V 图形用户界面中:

In the P4V GUI:

  1. 右键单击要更新的目录
  2. 选择获取修订版"
  3. 在对话框中,选中强制操作"
  4. 点击获取修订版"

这篇关于我已经删除了我目录中的所有文件.我怎样才能让他们回来?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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