We work at 3 Projects at the same time, one being the template system of the other two. After some months of back and fore we decided that the initial setup does not fit the situation as good as we would like, therefore we want to reorder the projects.
Status Quo: T is the ancestor of both A and B
Should be changed into: T is the ancestor of A, and A ist the ancestor of B
Since all Projects have a common history, its possible to push/pull commits between them. So in a pure GIT world it should be possible to change the definition of upstream and downstream for every repository.
But how can this be done with Stash v2.12.1?
When you say Projects, I think you mean repositories? And if I understand correctly, you currently have 3 repositories:
and you want to change that to:
Please correct me if I misunderstood your situation.
As you said, because all three repositories have a common ancestor, you can freely push/pull commits between them. Stash also allows you to create pull requests between any two repositories in the same 'family', so in your case you can already create pull requests between A and B without having to change the hierarchy.
Is there specific functionality that you're missing that triggers you to want to change the hierarchy?
If you do want to change the hierarchy, you'll have to delete repository B and recreate it as a fork of repository A.
Note however that this means that all your pull requests from repository B and the comments in them will be lost when you delete repository B. An alternative might be to rename repository B to B_archived and then recreate B as a fork of A.
Hope this helps!
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot