Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Making a branch the "main"
eric_schimelpfenig
Member Posts: 75 EDU
Hopefully this is a rather basic question... As I've been learning Onshape I've been making "versions" as I hit major changes in my models. I'm treating this like a "save as". I get how it works, you can go back in your history and roll back to any version you want at any time.
I'm now at a point in some of my models where I actually want to "branch" and experiment on a design, and possibly make that a part of my main design (or abandon that branch because my idea was bad!)
In this particular model, apparently I created some branches:
"B3" is what I would consider to be the "current" model that I want to start branching from.
So the question: Is there a way that I can make B3 the main branch, essentially overwriting any previous branches? I tried to merge it back into the main, but the main seemed to "win".
As far as I'm concerned everything that's not "B3" in this model is old and out of date. Can anyone help me deal with this? Thanks!
I'm now at a point in some of my models where I actually want to "branch" and experiment on a design, and possibly make that a part of my main design (or abandon that branch because my idea was bad!)
In this particular model, apparently I created some branches:
"B3" is what I would consider to be the "current" model that I want to start branching from.
So the question: Is there a way that I can make B3 the main branch, essentially overwriting any previous branches? I tried to merge it back into the main, but the main seemed to "win".
As far as I'm concerned everything that's not "B3" in this model is old and out of date. Can anyone help me deal with this? Thanks!
0
Comments
This is a great question, that can trip up new and seasoned Onshape users alike, so thanks for asking! There are two pieces to answering it.
First off, the reason you are seeing "Main" branch winning over the "B3" is that a Merge is directional; the workspace you merge into will have priority. If you do need to see the sum of the changes between "B3" and "Main", you can try merging the other way (activate "B3", and select "Main" as the workspace to merge into it).
Aside from/in addition to that, do remember that the branch names are just names - you can change them however you need. "Main" is no more important or functional than any other branch you create (it's just named that because we have to name the first branch something). You can simply re-name "Main" to something else, and if you see fit then even rename "B3" to "Main". To do this, simply right-click the branch, and view its properties.
As long as you understand which branch is which, that's all that really matters!
For merge I always have to remind myself to go to the workspace I want to merge to then activate the merge by hovering over the branch node.
Twitter: @onshapetricks & @babart1977