# Branch Copy

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/branch-copy/801>\
**Category:** Rose/Cylc and FCM\
**Created:** [21 November 2022 15:05 UTC](https://cms-helpdesk.ncas.ac.uk/t/branch-copy/801 "2022-11-21T15:05:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hannahbryant](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@hannahbryant](https://cms-helpdesk.ncas.ac.uk/u/hannahbryant)\
**Post date:** [21 November 2022 15:05 UTC](https://cms-helpdesk.ncas.ac.uk/t/branch-copy/801/1 "2022-11-21T15:05:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RosalynHatcher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rosalynhatcher/32/11_2.png) [@RosalynHatcher](https://cms-helpdesk.ncas.ac.uk/u/RosalynHatcher)\
**Post date:** [21 November 2022 15:21 UTC](https://cms-helpdesk.ncas.ac.uk/t/branch-copy/801/2 "2022-11-21T15:21:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hannahbryant](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@hannahbryant](https://cms-helpdesk.ncas.ac.uk/u/hannahbryant)\
**Post date:** [21 November 2022 15:22 UTC](https://cms-helpdesk.ncas.ac.uk/t/branch-copy/801/3 "2022-11-21T15:22:31Z")

</div>

Hi Ros,

Thank you!

Hannah
