Perforce not syncing files correctly

前端 未结 7 858
广开言路
广开言路 2021-01-01 11:10

I\'m using Perforce P4V, the graphical tool, to interface with my Perforce server here at work. I have a project I added to the depot and I accidentally deleted it from my

7条回答
  •  南方客
    南方客 (楼主)
    2021-01-01 11:55

    For people coming into this question, this worked for me on the mac command line ...

    cd into your local perforce workspace - the base directory of the checked out files that you are working on.

    p4 sync -f
    

    -f is to force the sync.

    This can also come in handy when you restore a mac from a time machine backup.

    https://www.perforce.com/perforce/r12.1/manuals/cmdref/sync.html

提交回复
热议问题