Re: Putting custom code in a separate repository

2013-09-09 Thread Jeremy Burns : Class Outfit
Check out Git submodules - that's exactly what they are for. Jeremy Burns Class Outfit http://www.classoutfit.com On 9 Sep 2013, at 14:17, David Suna david.s...@gmail.com wrote: I started a project locally by cloning the git repository for CakePHP (branch 2.4). I would like to maintain the

Re: Putting custom code in a separate repository

2013-09-09 Thread David Suna
Thanks for the suggestion. From a quick look at git submodules it seems that they are geared to using them in a single directory. The changes to a clean CakePHP installation end up being across multiple directories as well as include changes to some of the files in the original CakePHP

Re: Putting custom code in a separate repository

2013-09-09 Thread Simon Males
Some people have made lib/Cake a submodule https://github.com/nodesagency/cakephp-lib Another suggestion is too have cakephp/cakephp as an remote named 'upstream'. Then you could suck in changes via `git fetch upstream`, but it could get messy in the app directory. On Mon, Sep 9, 2013 at 9:48

Re: Putting custom code in a separate repository

2013-09-09 Thread Jeremy Burns : Class Outfit
You add submodules in a path relative to the root of the git repository. I am a Git command line coward so use SourceTree (http://sourcetreeapp.com) which does it all for me. I have all (most) of my plugins as submodules. On 9 Sep 2013, at 14:48, David Suna david.s...@gmail.com wrote: Thanks

Re: Putting custom code in a separate repository

2013-09-09 Thread David Suna
On Monday, September 9, 2013 4:58:06 PM UTC+3, Simon Males wrote: Some people have made lib/Cake a submodule https://github.com/nodesagency/cakephp-lib This sounds like it would work although it is somewhat of a shame to leave out all the code under app. My question would be how to get

Re: Putting custom code in a separate repository

2013-09-09 Thread David Suna
On Monday, September 9, 2013 5:05:04 PM UTC+3, Jeremy Burns : class...@classoutfit.com wrote: You add submodules in a path relative to the root of the git repository. I am a Git command line coward so use SourceTree (http://sourcetreeapp.com) which does it all for me. I have all (most) of

Re: Putting custom code in a separate repository

2013-09-09 Thread Rachman Chavik
On Mon, 09 Sep 2013 06:48:42 -0700, David Suna wrote: Thanks for the suggestion. From a quick look at git submodules it seems that they are geared to using them in a single directory. The changes to a clean CakePHP installation end up being across multiple directories as well as include