Code sharing

Users have three options in how they share code:

  • Using distributed development

    This method allows users to share code and development. Using this option, users connect to a shared server and use the p4 push and p4 fetch commands to copy files to and from the shared server. Integration with the shared server is bi-directional and both file contents and history is shared. See Distributed development using Fetch and Push for more information about this option.

  • Using the p4 zip and p4 unzip commands

    This option allows users to share code. In addition to file contents, users can see the associated changelists, fixes, file attributes and integration history. See Code drops without connectivity for additional information about this option.

  • Using remote depots

    This option enables independent organizations with separate Helix Server installations to integrate changes between installations. Code integration is only one way, and metadata information cannot be accessed. This option allows code drops to expose only files and file content. This might be preferable for security reasons.

    For additional information about this option, see Work with depots.