我已经删除了我目录中的所有文件.我怎样才能让他们回来?

编程入门 行业动态 更新时间:2024-10-17 08:21:42
本文介绍了我已经删除了我目录中的所有文件.我怎样才能让他们回来?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我是 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:

  • 右键单击要更新的目录
  • 选择获取修订版"
  • 在对话框中,选中强制操作"
  • 点击获取修订版"
  • 更多推荐

    我已经删除了我目录中的所有文件.我怎样才能让他们回来?

    本文发布于:2023-11-01 01:53:08,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1547902.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:我已经   文件   目录中

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!