linux:p4
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| linux:p4 [2021/03/15 19:04] – [4. p4 revert] zhangguo | linux:p4 [2026/09/18 10:34] (当前版本) – [16. p4 client] user01 | ||
|---|---|---|---|
| 行 69: | 行 69: | ||
| 这跟git不一样,git可以直接git diff, p4 有些麻烦。 | 这跟git不一样,git可以直接git diff, p4 有些麻烦。 | ||
| + | |||
| + | |||
| + | |||
| + | ===== - p4 files ===== | ||
| + | 显示p4指示路径有哪些文件。 | ||
| + | |||
| + | <code bash> | ||
| + | p4 files //depot/... Provides information about all files in the depot. | ||
| + | p4 files // | ||
| + | p4 files @2011/03/10 Provides information about all depot file revisions that existed on March 10, 2011. | ||
| + | p4 files @2011/ | ||
| + | p4 files // | ||
| + | p4 files // | ||
| + | p4 files -a // | ||
| + | p4 files -A // | ||
| + | </ | ||
| ===== - p4 print ===== | ===== - p4 print ===== | ||
| 行 135: | 行 151: | ||
| </ | </ | ||
| + | 查看有哪些pengding changes | ||
| + | < | ||
| + | p4 changes -s pending -u xxx | ||
| + | </ | ||
| + | |||
| + | |||
| + | 删除对应p4 change | ||
| + | < | ||
| + | p4 change -d change_number | ||
| + | </ | ||
| ===== - p4 delete ===== | ===== - p4 delete ===== | ||
| p4 删除文件。 | p4 删除文件。 | ||
| + | ===== - p4 client ===== | ||
| + | |||
| + | 删除p4 client | ||
| + | |||
| + | <code bash> | ||
| + | p4 client -d clientname | ||
| + | </ | ||
linux/p4.1615806291.txt.gz · 最后更改: 2023/03/17 10:12 (外部编辑)