I know this is a strange question, but is there a p4 command that is the reverse of ‘sync’? That is, I’d like whatever files are in my local workspace directory to be pushed to the depot.
I know your first thought is probably “but WHY?”, and the answer is, it’s complicated.
Reconciling offline work could help you. It pushes files that are added, or changed or deleted . Its a bit trickier with renamed files.
Out of curiosity. What exactly is “it’s complicated”