Hi,

mkdir myproject && cd myproject #create a directory and enter it
git init #create a new git repo
git submodule add @symfony2git@ lib/vendor/symfony2 #add sf2 as a submodule,
put it in lib/vendor/symfony2
git submodule update --init --recursive #initialize the submodules
recursively

Doesnt it make the job ?

Regards,

Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Mon, Jan 10, 2011 at 3:26 PM, Donald <[email protected]> wrote:

> Hi,
>
> I've been experimenting with the zip version of the symfony 2 sandbox
> for a while, and I'd like to start using github for my project. I've
> read up a little on git and am familiar with the basics, plus
> submodules and subtrees.
>
> I'm trying to determine the best way to proceed when setting up a new
> symfony2 project. With symfony 1, I had used svn:externals to keep the
> symfony framework up-to-date, and with symfony2 I've tried various
> things from subtree merges, to creating the vendors as submodules, to
> even forking the symfony 2 sandbox on github.
>
> I'm not exactly sure which of these is the most appropriate way to
> setup a new project. They all seem to have their benefits and
> problems. Can anyone with experience in this provide me with some sage
> advice?
>
> Thanks,
>
> Donald
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to