Hey guys,
For a long time I had the habit to make all the changes on my website through FTP. So I was working on the live site.
But now I decided to move on to git for version control, but I still want to develop right on a server for PHP stuff and to have simple access to the new code if someone else has made a change
The workflow should be the following:
1. I make a change on the dev server
2.The changes should be automatically committed to my Bitbucket repo
3. When the entire work is done, I want to push it to the live server
What could be the simplest solution for this purpose?
Thanks in advance for your answers.
Edit: I forgot to mention that I’m using Mac OS X and that my server is running Apache