I edited few files in my workspace and did p4 change. Then I remembered that I have to make some more edits to additional files(not in the changelist). I opened those files with p4 edit but how to add these files to existing changelist. Is there a way to do it?

有帮助吗?

解决方案

In general you can use:

p4 reopen -c CLN FILE ...

to move open files into the specified changelist (regardless of whether they were open for edit, add, etc.).

CLN may be default to dissociate the specified files from any numbered changelist.

其他提示

You can say:

p4 edit -c changelist# file ...

where changelist# refers to the pending changelist.

p4 edit -c changelist file same works for sd

file not open

p4 edit -c [changelist] [file]

file open already

p4 reopen -c [changelist] [file]

be lazy

p4 edit [file] && p4 reopen -c [changelist] [file]
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top