Reputation: 13
I have copied all of the files from my production server into a local repo. I want to set up Git on the production server (Linux) so that when I push changes, they are automatically synchronized with the server.
Unfortunately, our hosting service does not allow us SSH access. Is it possible to install and set up Git on the server without having SSH access? (I can run commands in a php script using shell_exec() as kind of a workaround).
Upvotes: 1
Views: 1016
Reputation: 5138
You could use http, https or git protocol instead of ssh. More information you can find here
Upvotes: 0