Yes it is possible. However, for any reason, official instructions have been rescheduled or deleted. Maybe there are other better alternatives. I dont know. It has been many years since I last used P4, so this is not based on personal experience, and the proposal below is what the official response forum suggested
echo Change A > foo p4 add foo p4 submit -d "Add foo" foo p4 integ foo bar p4 submit -d "Branch foo" bar p4 edit foo echo Change B >> foo p4 submit -d "Update foo" foo p4 edit foo echo Change C >> foo p4 submit -d "Update foo again" foo p4 integ foo
The link below is stored if someone wants to try to find the source page using archive.org or a similar service.
Official cherry-picking instructions.
source share