I have been using git
for one of my websites and have been pushing my code to a remote repository. This is all well and good however whenever I want to update the production site I need to upload my code through an FTP client.
Current Workflow
This process of making code changes > push
ing to a remote repo on GitHub > then uploading via FTP has its downsides when having a team of developers.
Desired Workflow
What I'm looking for is a away to update my files on my hosting server (hostgator) that contains the production files from the master
branch of my remote repo. Essentially no use for FTP client.
Guidance needed
I'm sure there is a way however I'm lost in how to do this. Need your help! Thanks as always! :)