Duplicate a branch

You can duplicate a file, and create a branch of the current file but when your in a branch you can only duplicate to a new file not a new branch. I always have this need I create a branch and don’t want extra files I just want to create extra branches off of the branch not the original file which has been significantly modified at this point.

11 Likes

+1. I found this by searching for a way to duplicate branches, because our team has the same need. Would love to see this added in a future release.

2 Likes

Thanks for your feedback, @Jason_Hetu & @HeyJessiBrown!

We’ll pass it along to our team for future consideration. Be sure to also Vote up top, so we have an accurate gauge of interest within the community.

2 Likes

Thank you! Voted.

I’ll also say that if we could merge only selected elements, it would meet this need (for my team, at least) with a lot of other benefits to boot.

4 Likes

Upvote for this please

++, this would be very helpful!

+1 x💯 This would be a real game changer in different use cases.

Here’s one specific case:

  • 1 big application file, consuming…
    • 1 big UI libary file with everything inside – components, styles (venture/early stage startup, so no tokens yet)
    • 1 samples file with layouts and sample content components

Apart from all core app areas and flows the big application file gets a new page for every new product (design) initiative.

These initatives are supposed to get frozen in time —> thus go into (archived) branches – all other pages removed. This way UI library updates only go into the always up to date core pages.

@dvaliao Curious what you think of this workflow — CC @Jason_Hetu @HeyJessiBrown

I ended up here because I need to duplicate a branch as well. My use case:

  • A new version of my work is under development and it’s a branch of the main master file. Once it’s released, I’ll merge in the master file
  • However, I have another project in the pipeline that will come after this release, using the new version of the work
  • Since the latest work in on a branch, I need to duplicate the branch so I can work in the next project.

But it’s impossible at this time.
@dvaliao this thread is quite old. Is there any response from the team about this request?
Thank you.

1 Like

Ran into the same issue re: the need to duplicate a branch. My use case:

I created a branch of UI A called UI A1 which contains a dramatically different version of UI A that reflects new requirements. I’m now making changes to UI A1 based on stakeholder feedback, and rather than duplicating the screens or the page to make those changes (messy, and runs the risk of stakeholders or team members looking at the wrong thing) I’d rather duplicate the entire branch and make the changes there.

Since there’s no way to do this currently, my only option is to make a new branch of UI A, delete its contents, copy/paste in the contents from UI A1, and continue iterating from there–also not ideal.

I’d love a way to duplicate branches so that I can make and share updated designs in a way that reduces confusion and ambiguity for all involved.

Please speed the feature up. It’s an important update for sure.

1 Like

:heavy_plus_sign: :one:
yes, please. much needed here, too! :heart_hands: