Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Subtree merge conflicts using SourceTree

Sascha Hausberg June 30, 2014

Hi,

we're using the Sourcetree software for Windows to manage a number of git repositories. We have a number of libraries, where each library is a single git repository, and a number of projects, which contain the libraries as subtrees.

If a new commit is made in one of the projects and pushed to a subtree, the pull of the same subtree in another project generates some merge conflicts, even if the library hasn't been touched in the second project. The merge only shows new lines in the remote part, the local part is clean. So in fact, there is no real merge conflict.

I read about some problems within the subtree command (see this thread: http://stackoverflow.com/questions/17242063/git-subtree-conflict-when-pulling-from-central-repo), but the fixes mentioned there are either not working ("fetch fix") or undesired ("pull after push-fix").

Is there a proper way to deal with this problem?

Thanks for any help!

1 answer

0 votes
Steven Tang September 3, 2014

Hi,

This is quite an old issue and still a valid one. Is there any view on how to tacke this? Can there be an option to allow 'pull' be done automatically after a 'push' ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events