[英]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. 我想在生产服务器(Linux)上设置Git,以便当我推送更改时,它们自动与服务器同步。
Unfortunately, our hosting service does not allow us SSH access. 不幸的是,我们的托管服务不允许我们进行SSH访问。 Is it possible to install and set up Git on the server without having SSH access? 是否可以在没有SSH访问权限的情况下在服务器上安装和设置Git? (I can run commands in a php script using shell_exec() as kind of a workaround). (我可以使用shell_exec()在php脚本中运行命令,作为一种解决方法)。
Here are some close threads with popular answers: 以下是一些流行的答案的特写:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.