Skip to content

Latest commit

 

History

History
 
 

cheatsheet-perforce-A4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

1 CheatSheet: Perforce Source Code

File me Issues or star this repo.

1.1 Perforce Basic

NameSummary
Download Perforce CLI ClientLink: Download Helix Command-Line Client (P4)
Download Perforce GUI ClientLink: Download Helix Visual Client (P4V)

1.2 Perforce Workflow

NameSummary
Config file.p4config
Validate p4 config filels -lth $P4CONFIG
Login to systemp4 login
Create a new P4 clientp4 client
Sync source codep4 sync
Edit a filep4 edit $file_path
Add a filep4 add $file_path
See files open for editp4 opened
Generate CLNp4 change
Update an existing CLNp4 change $CLN
Generate a review link/build/apps/bin/post-review $CLN
Resolve conflictp4 resolve
Check-in the change after reviewp4 submit -c $CLN
Check-in the change after reviewp4 shelve -c $CLN -d, =p4 submit -c $CLN

1.3 Perforce Issues

NameSummary
6 Failures Of Perforce SubmissionIf submit succeeds, files should be removed from shelf and changelist shown as ‘submitted’

1.4 p4 online help

-bash-4.1$ p4 help

    Perforce -- the Fast Software Configuration Management System.

    p4 is Perforce's client tool for the command line.  Try:

        p4 help simple          list most common commands
        p4 help commands        list all standard commands
        p4 help command         help on a specific command

        p4 help administration  help on specialized administration topics
        p4 help charset         help on character set translation
        p4 help configurables   list server configuration variables
        p4 help environment     list environment and registry variables
        p4 help filetypes       list supported file types
        p4 help jobview         help on jobview syntax
        p4 help networkaddress  help on network address syntax
        p4 help revisions       help on specifying file revisions
        p4 help streamintro     introduction to streams
        p4 help usage           generic command line arguments
        p4 help views           help on view syntax
        p4 help replication     help on specialized replication topics
        p4 help dvcs            help on decentralized Perforce configurations

        p4 help legal           legal and license information

    The full user manual is available at
    https://www.perforce.com/support/self-service-resources/documentation

    Server 2018.2/1740258.

1.5 More Resources

https://www.perforce.com/support/self-service-resources/documentation

License: Code is licensed under MIT License.