Create a mainline stream

When you create a stream, you assign it to one of the Stream types. To create a mainline stream:

  1. Issue the p4 stream, command, specifying the depot followed by the stream name.

    For example:

    $ p4  stream -t mainline //JamCode/main

    The stream specification form is displayed.

  2. Change options in the spec to assign the stream the characteristics you want and save the spec. For details on the stream spec, see Configure a stream.
  3. To verify that your mainline stream has been created, issue the p4 streams command.

    For example:

    $ p4  streams //JamCode/...