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

P4 Server Administration Documentation | 2025.2

# Fetch a limited subset of history

If you have a server with a lot of history you might only want to fetch the latest few revisions to save on local storage. To do so, use the `-m N` option:

    p4 fetch -m 5

This specifies that the server perform a shallow fetch, fetching only the last 5 revisions of each file. You can also take a slice of your history as noted above.

Your search for returned results