我是新手,不知怎的,我让自己陷入了一种奇怪的状态。
我有两个文件,我修改并以某种方式添加到更改列表(不是默认更改列表)。我想还原更改并删除更改列表,但我无法弄清楚。
我试过这样做:
p4 change -d 75697
Change 75697 has 2 open file(s) associated with it and can't be deleted.
所以我试图还原更改列表中的文件:
p4 revert package.json
package.json - file(s) not opened on this client.
好的,所以我想我需要打开文件?
p4 edit package.json
//a/b/c/package.json - can't edit (already opened on this client)
所以我在打开文件之前无法还原文件,但我无法打开它,因为它已经打开了?这是怎么回事?