Managing Nested Libraries Using the GIT Subtree Merge Workflow

added by John Atten
3/25/2013 11:16:22 AM


The Subtree Merge Workflow offers a relatively painless mechanism for managing shared library source code as a component of a larger project. If you have ever had a shared library, custom control, or other component under development that you also wanted to use within one or more dependent projects, you no doubt understand what I mean.


John Atten
3/25/2013 11:18:51 AM
This was written pretty agnostically in terms of language/framewrok. However, managing multiple dependent projects within VS was the context from which I was working originally. NOTE: Once you have added a dependent library project as a subtree, it is then necessary to use "Add Existing Project" from the VS Solutions Explorer, as well as Set Project Dependencies just like any other time you add a project to a VS Solution.