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.
If you don't want to do this via command-line, you can edit a changelist description in P4V. Open the changelist (right-click, "View Changelist"), and there's an "Edit" button at the bottom which makes the Description field editable, allowing you to fix a typo or confusing description for a changelist.
p4 add opens files within the client workspace for addition to the depot. The specified files are linked to a changelist. The command can add files to a new, empty depot or to a depot that already contains files. The files are added to the depot when the changelist is committed with p4 submit .
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With