Populate child streams
After populating the mainline, you can branch files for development and for release. For example, to create a development stream that is a clone of its mainline parent, issue the following command:
p4 stream -t development -P //JamCode/main //JamCode/dev
Helix Core Server displays the stream specification with the type set to development. Save the specification. To populate the stream with the files from the mainline, issue the following commands:
p4 populate -d "From main" -S //JamCode/dev -rp4 sync