Article 6J4N0 Old School Part Time Procedural PHP Dev here - Trying to figure out how to implement Git into my projects.

Old School Part Time Procedural PHP Dev here - Trying to figure out how to implement Git into my projects.

by
wh33t
from LinuxQuestions.org on (#6J4N0)
I build a lot of web based tools that aren't exposed to the internet that work with databases.

I come from the era where a lot of the tooling that modern development uses wasn't common place. If you wanted a tool that did something specific, you often built it yourself.

With that said, I'm trying to break away from this habit and get comfortable with Git. Git itself seems pretty straight forward, what I'm unsure of is how to actually use it in my day to day.

Most of my servers are setup using three sub domains, live.domain, dev.domain, test.domain. I have tools that that will rsync the roots or databases of each subdomain to and from the other. I do my development on the dev.domain, then I will sync the live.domain to the test.domain, then move my changes into the test.domain, and if all is good, I move those updates to the live.domain. Backups are taken regularly.

All three of the subdomains reside on the same physical machine and I do my editing and programming directly on the dev.domain, I do not have a local environment and I'd like it to stay this way.

So my question, how do I incorporate Git into this kind of setup? Is it even compatible? What changes would I need to make? What would my programming flow be like for new features or bug fixes? I'm open to ideas.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments