cale830
cale830

Reputation: 13

Git on server with no SSH access

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

Answers (2)

RomanHotsiy
RomanHotsiy

Reputation: 5138

You could use http, https or git protocol instead of ssh. More information you can find here

Upvotes: 0

Related Questions