I would like to setup git for a website taking the following into account:
I have a VPS setup where I plan on doing the following:
- Setup /home/site/public_html (Main Website)
- Setup /home/dev-site/public_html (Dev Site)
- Use an IDE on my Windows PC to make changes.
I would like to see the following happen:
- I make changes on my local PC
- Push to my DEV site (dev-site) for testing
- If everything works there, I would then push to my Main Website(LIVE)
What is the best approach to have something like this work.
I just now started to use GIT and it is getting a little confused.