0

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).

cale830
  • 3
  • 2
  • 1
    Are you looking for something like this: http://stackoverflow.com/questions/2278888/private-git-repository-over-http – Flexo Jul 14 '14 at 21:05

2 Answers2

1

Here are some close threads with popular answers:

Community
  • 1
  • 1
Ruslan Gerasimov
  • 1,752
  • 1
  • 13
  • 20
0

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

RomanHotsiy
  • 4,978
  • 1
  • 25
  • 36