In Perforce on Unix, how do you add a directory that is a symbolic link?

前端 未结 2 1447
盖世英雄少女心
盖世英雄少女心 2021-02-13 12:35

I have created a symbolic link directory in Unix and I would like to add it to perforce.

(this question relates to symlinks on Unix. Windows symbolic links can have very

相关标签:
2条回答
  • 2021-02-13 12:54

    Add the symbolic link from the shell using the -t option to set the symlink type.

    p4 add -t symlink dir2
    0 讨论(0)
  • 2021-02-13 13:08

    Perforce is able to detect symlinks itself and no special options need to be added in the command. Just regular command like following suffices the need

    p4 add <sym link filename> 
    
    0 讨论(0)
提交回复
热议问题