Hi guys,
I’m about to set up a PHP dev environment on my mac (Leopard) and going to be using git as my version control, I’m not familiar with a mac setup or git so I’m looking forward to getting stuck in!
I think I’m just going to use the “Sites” directory as my localhost and the location where I deploy from to my server?
Sites/mysite.co.uk
Sites/anothersite.co.uk
Sites/anothersite.com
Would I simply initialize a git repository for each site in the same directory i.e. Sites/mysite.co.uk/git/
Or is it best to have a completely separate code repository that I develop in;
SOMEPATH/git/mysite.co.uk
SOMEPATH/git/anothersite.co.uk
SOMEPATH/git/anothersite.com
and then deploy/sync from here to the Sites directory and use localhost as my stage before deployment??
How to others do it any advice would be great, I want to get this right from the start
Thanks in advance
Crabby