0

I have a Github repo on my PC that I use regularly to update and push changes. The code pushed to the repo needs to be able to be run on a couple of different servers. Currently, I remote into the server that I need to run the script on and either run a fetch or copy over the newest code from my machine. I'm looking for a way to ALWAYS keep the folder on the servers up-to-date with master. Is there a way to auto fetch every time something is pushed to Git? I will never make edits on these servers, so they'll never even need the ability to push on their own.

0 Answers0