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

P4 Server Administration Documentation | 2025.1

# Choose a remote

How you choose a remote depends on whether you’re doing your initial clone or your daily fetching and pushing.

If you’re cloning, run the `p4 remotes` command on the shared server from which you’re cloning and choose the remote you want to work with. To look at the details of each remote, run `p4 remote -o`. Alternatively, you can obtain the id of the remote from a shared server administrator or project leader.

If you want the content of just one depot path, pass the filespec of the path by running `p4 clone -f`.

In a typical use case, you’ve cloned from a shared server and the remote has been copied to your personal server and named `origin`. Because `origin` is the default remote, you don’t have to pass a remote id during subsequent fetches and pushes.

In the more complicated case, you’re pushing to or fetching from multiple shared servers, in which case you would run `p4 remotes` on your personal server and choose from among the remotes based on which shared server you’re fetching from or pushing to. Again, you can use `p4 remote -o` to get the details of each remote.

Your search for returned results