Branch Copy

Hi,

I was hoping to create a copy of one of my own branches under a different name that I can develop separately. Can I do this simply by checking out the branch again and specifying the location it goes to (a different folder) or is it best to create a new branch entirely and copy over the changes? I just want to be careful that when I commit it doesn’t overwrite the original branch.

Thanks,
Hannah

Hi Hannah,

You’ll need to create a new branch and merge the original one in

  1. Create new branch
  2. Checkout new branch and cd to it
  3. Merge the original branch in with fcm merge fcm:um.x-br/dev/hannahbryant/<branch>

Cheers,
Ros.

Hi Ros,

Thank you!

Hannah