git-p4
Import from and submit to Perforce repositories. tldr-pages
On several platforms
Several platforms
Clone a Perforce depot into a new Git repository
git p4 clone path/to/p4_depotIdentifySync changes from Perforce into the current Git repository
git p4 sync path/to/p4_depotIdentifyRebase local commits on top of the latest Perforce changes
git p4 rebaseIdentifySubmit Git changes back to Perforce
git p4 submitIdentifyClone the full Perforce history instead of only the latest changelist
git p4 clone path/to/p4_depot@allIdentify