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!
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...
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