Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Server Administration Documentation | 2025.1

# Git to P4 Server command mappings

Git commands and their corresponding P4 Server commands:

Git Command | P4 Server Command
--- | ---
`git add` | `p4 reconcile`
`git branch` | `p4 switch -l`
`git checkout --orphan new_branch` | `p4 switch -cm new_stream`
`git checkout branch` | `p4 switch stream`
`git clone repository` | `p4 clone -p host:port -r remote`
`git commit` | `p4 submit`
`git init` | `p4 init`
`git merge branch` | `p4 merge --from stream`
`git pull` | `p4 fetch -t -r remote -S stream`
`git pull --all` | `p4 fetch -t`
`git push` | `p4 push -r remote -S stream`
`git push --all` | `p4 push`
`git rebase` | `p4 unsubmit` followed by `p4 resubmit`
`git remote` | `p4 remotes`
`git remote add new_remoterepository` | `p4 remote new_remote`
`git status` | `p4 status`
`git checkout -b new-branch` | `p4 switch -c new-branch`

For more details on P4 Server commands, see the P4 CLI Reference.

Your search for returned results