I have 4 repositories.
Master is my main repository that i want to create my final release builds from.
Development is all encrypted code
Modules and includes are subtree for the development repository. I would like to complete all the development part in my development repository and then push the code of modules and includes subtree to the master repository.
Thanks in advance
As I mentioned in my reply yesterday to your same question, it can be done, but you have to do the merge from the command line, it cannot be done within Bitbucket (and using subtrees do not change anything). Please see my answer from yesterday, https://community.atlassian.com/t5/Bitbucket-questions/Can-we-merge-the-code-to-another-repository/qaq-p/1343138
Like I want to merge the subtree for includes in includes folder it is not doing that it copies it on the main folder that I don't want to do that. I have a folder structure
I have two subtrees includes
my main problem is that in the include repository if I update everything in the include folder and create a subtree in my project it will create like this php/includes/includes and i want it to be php/includes. In order to do that I have to copy only the files in the includes repository. Now when I am merging the repositories it is copying the whole includes file at php that I dont want I want all the data to be merged in php/includes folder
Subtree doesn't allow you to have your source as a folder inside another repository, the source has to be a repository.
my_subtree is a separate repository that has been imported as a subtree in the main_repository.
This is a good source for how subtrees works, https://www.atlassian.com/git/tutorials/git-subtree
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events