How should my local git workflow work?

Posted by Anonymous - on Programmers See other posts from Programmers or by Anonymous -
Published on 2012-06-09T09:39:05Z Indexed on 2012/06/09 10:47 UTC
Read the original article Hit count: 228

Filed under:
|
|

At home, I have a server that is running some software (on a LAMP stack, but only accessible internally). I have another machine and a laptop that I both use for developing said software. What is the best workflow for me?

Should I have a repository on my local server, create a live branch, staging branch and development branch, then checkout the development branch from my laptop/development PC to work on, commit that back when I'm done, then merge the development branch with the staging branch for testing, before further merging to the live branch?

Would I simply checkout the production branch to my /www/var/ on my server?

Or am I thinking/going about this all wrong?

Thanks.

© Programmers or respective owner

Related posts about git

Related posts about Workflows