git p4
Import from and submit to Perforce repositories. More information: https://git-scm.com/docs/git-p4.
- Clone a Perforce depot into a new Git repository:
git p4 clone
- Sync changes from Perforce into the current Git repository:
git p4 sync
- Rebase local commits on top of the latest Perforce changes:
git p4 rebase
- Submit Git changes back to Perforce:
git p4 submit
- Clone the full Perforce history instead of only the latest changelist:
git p4 clone @all
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
