Hi all !<br><br>I want your thoughts about how I can manage my branches. I didn&#39;t find anything in the doc that could fulfill my needs.<br><br>I manage the development on three environments (different machine):<br>production(prod), test and development (dev).<br>
<br>I created a virtual branch called main which was based on the production a long time ago and derived production, test and development from main. Now to make a modification in the tree environment I branch from main and merge from this new branch to each environment.<br>
<br>to resume &quot;prod&quot;, &quot;test&quot; and &quot;dev&quot; are three branches derived from &quot;main&quot;.<br><br>1 ) My first problem is: <br>it would sometime be easier to derive a &quot;newdev&quot; branch from the &quot;dev&quot; branch and to make my tests within the &quot;newdev&quot; environment. But I don&#39;t know how to report *just* the modifications from &quot;dev&quot; to &quot;newdev&quot; in another environment (said test for example). Because, if I merge from newdev to test, I will got too many modifications.<br>
<br>2 ) Sometimes I want a little subdirectory to be up to date on the three environments. But it bother me to deploy all the tree (large) as I only want to work on a very little part of the tree.<br>Now, my two solutions are :<br>
1 - work with all the tree of &quot;main&quot;, make my modifs only in the subtree and merge on the tree environments<br>2 - make a non correlated branch and synchronize (with rsync) the subtree in each environment.<br><br>
I would want to know if you have another idea on how to manage only parts of the tree. Or to make things a little more tricky. Version an entire tree and synchronize only a little sub directory with sub directory of other branches.<br>
<br>Thanks very much for any answer.<br><br>Yann Esposito <span>(<a href="http://ping.fm/c9QQl" target="_blank">http://ping.fm/c9QQl</a>)</span>