Renaming files in Perforce?

前端 未结 5 916
后悔当初
后悔当初 2021-02-14 22:39

Every time I rename a file in Perforce it actually deletes an old file and adds a new one. As a result the new file doesn\'t share the old\'s file history. Is there an easy way

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-14 23:36

    Use p4 move

    According to Perforce, this command will "Move (rename) a file from one location to another."

    http://www.perforce.com/perforce/doc.current/manuals/cmdref/move.html

提交回复
热议问题