Linux command
p4 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Sync workspace
p4 sync
Check out file
p4 edit [file]
Submit changes
p4 submit
View changes
p4 changes
Revert file
p4 revert [file]
Show file status
p4 status
说明
p4 is the Perforce client. Manages version control with central server. The tool provides enterprise version control. Handles large binary files.
参数
- sync
- Sync workspace.
- edit _FILE_
- Check out file.
- submit
- Submit changelist.
- changes
- List changelists.
- revert _FILE_
- Revert changes.
- status
- Show file status.
- --help
- Display help information.
FAQ
What is the p4 command used for?
p4 is the Perforce client. Manages version control with central server. The tool provides enterprise version control. Handles large binary files.
How do I run a basic p4 example?
Run `p4 sync` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does sync do in p4?
Sync workspace.