How to find untracked files in a Perforce tree? (analogue of svn status)

前端 未结 16 2118
独厮守ぢ
独厮守ぢ 2020-12-02 06:44

Anybody have a script or alias to find untracked (really: unadded) files in a Perforce tree?

EDIT: I updated the accepted answer on this one since it looks like P4V

16条回答
  •  情歌与酒
    2020-12-02 07:30

    In P4V, under the "View" menu item choose "Files in Folder" which brings up a new tab in the right pane. To the far right of the tabs there is a little icon that brings up a window called "Files in Folder" with 2 icons. Select the left icon that looks like a funnel and you will see several options. Choose "Show items not in Depot" and all the files in the folder will show up. Then just right-click on the file you want to add and choose "Mark for Add...". You can verify it is there in the "Pending" tab. Just submit as normal (Ctrl+S).

提交回复
热议问题