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

前端 未结 16 2136
独厮守ぢ
独厮守ぢ 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:48

    Is there an analogue of svn status or git status?

    Yes, BUT.

    As of Perforce version 2012.1, there's the command p4 status and in P4V 'reconcile offline work'. However, they're both very slow. To exclude irrelevant files you'll need to write a p4ignore.txt file per https://stackoverflow.com/a/13126496/284795

提交回复
热议问题