I have a library which applies to several projects. I started using submodule but I wanted others to simply checkout the project and get everything they want.
I played around with the following sequence on the command line according to https://help.github.com/articles/working-with-subtree-merge
It initially worked but I honestly did not really understand what I was doing. Later it happend that one of the consuming projects was pushed entirely to the library - which is definitely not intended.
Is there a fool - proof way to use read-tree or even git subtree with sourcetree.
Thanks in advance and thanks for sourcetree.
SourceTree doesn't support subtree yet, only submodules. Subtree was an experimental replacement for submodules and isn't used very widely yet AFAIK.
git subtree is a convenience script around git read-tree. git read-tree on the other hand is long available in git.
git subtree is now part of the official git sources (still in contrib).
However it is, all these things are somehow difficult to handle and a support in sourctree would be ammazing.
I currently start to create scripts in my project to handle these things. A part of help would be, if I could invoke these scripts from within sourcetree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can invoke any outside script from inside SourceTree using Custom Actions - please see Preferences > Custom Actions and this blog post for details: http://blog.sourcetreeapp.com/2012/02/08/custom-actions-more-power-to-you/
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.