mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 10:15:33 +02:00
p4 : add page (#2403)
This commit is contained in:
parent
c7dd5f5a44
commit
1801c151ae
1 changed files with 35 additions and 0 deletions
35
pages/common/p4.md
Normal file
35
pages/common/p4.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
# p4
|
||||
|
||||
> Perforce Version Control System.
|
||||
|
||||
- Log in to the Perforce service:
|
||||
|
||||
`p4 login -a`
|
||||
|
||||
- Create a client:
|
||||
|
||||
`p4 client`
|
||||
|
||||
- Copy files from depot into the client workspace:
|
||||
|
||||
`p4 sync`
|
||||
|
||||
- Create or edit changelist description:
|
||||
|
||||
`p4 change`
|
||||
|
||||
- Open a file to edit:
|
||||
|
||||
`p4 edit -c {{changelist_number}} {{file_name}}`
|
||||
|
||||
- Open a new file to add it to the depot:
|
||||
|
||||
`p4 add`
|
||||
|
||||
- Display list of files modified by changelist:
|
||||
|
||||
`p4 describe -c {{changelist_number}}`
|
||||
|
||||
- Submit a changelist to the depot:
|
||||
|
||||
`p4 submit -c {{changelist_number}}`
|
Loading…
Add table
Reference in a new issue