I use Git to track local changes in my PHP web applications, and I was wondering if it would be a good idea to use Git on the server as well, so that I could just use git push to deploy my changes. Would there be any pitfalls with this approach?
I use Git to track local changes in my PHP web applications, and I
Share
This seems like a nice way to do things. If you’re tagging and branching properly it will enable you to quickly switch back to working versions of your site too in the event that something breaks.