use git work flow
Help me with working flow for my dedicated server.
Hi, i have a dedicated server, with 2 accounts, the main domain and the dev domain, i currently need to develop features... then upload it to dev domain, testing, then upload it to main domain, all this trough ftp.... how can improve this flow???? how can do better? thanks in advance.
If you're using git create a dev branch off the master and develop on that branch. Merge to master when you're confident your fetures are ready.
I use deployhq.com to deply my code to the server. With this you could setup a deploy for the dev branch to your dev domain and setup a deploy for the master branch to your main domain. Works seemlessly with github where I store my projects.
Or what I do is work locally on the dev branch and merge it to the master when I am confident it is ready. I have one deploy setup to push the master branch automatically when I merge the dev branch or whatever feature branch I am working on.
Basically: Master Branch - Stable Dev Branch - Testing Feature branch - Created off master branch or dev depending on your workflow.
Hope this helps.
Regards, Ray
Please or to participate in this conversation.