I've got a web app that runs off of Drupal (7) on a Linux machine. Normally I'll create a sub domain such as "dev.example.com" and make my changes and bug fixes before they go live. When I'm ready to push them to production, I've got to go through each file that I've modified or created and bring them to the production domain. I'm thinking there has to be a better - I just don't know any better.
I know lots of people use GIT. I'm curious how I can incorporate that into my workflow. Does it mean I've got a copy of all my custom code up on GIT and then I just fork it when I'm ready to make changes? Then take the code from GIT to my web server. I'm not too clear how it all works.
Any ideas, suggestions or tips would be greatly appreciated. I've always wondered about the "right" way to do this stuff, now I finally have a reason to learn.
Best, Howie
The right way,
Initialization:
Development workflow:
Deployment to server:
Deployment in easier way
Happy Deploying :)