When I Add a subtree it all works great locally. However it seems all the subree information is lost when it hits bitbucket, so a team member who clones the repository doesn't see the subtree info.
so I have :-
image2016-6-24 14:33:2.png
Then I clone that somewhere else
image2016-6-24 14:33:45.png
nothing.
So if a team member changes something in project "LetterA" they don't have it setup so they can push their change to the lib repository.
As far as I can tell, the only reason why sourcetree knows of subtrees is because it records in "sourcetreeconfig" that there are some. But how do you share this with a whole team ?
I hit the same problem with subtrees and bitbucket. Does anyone have an answer?
When Linus talked about Git at Google in 2007, one of the features he mentioned was its capability to handle repositories of repositories.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
submodules caused all kinds of grief when branching and merging and just feel clunky
However, I've abandoned subtrees now... and gone with subrepos
https://github.com/ingydotnet/git-subrepo
It solves the problem really nicely ( though it is all command line, but pretty straight forward )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why did you choose subtrees over submodules?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.