Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it necessary to have a git installed on remote host when pushing against it?

Tags:

git

ssh

We are facing a problem, when git cannot be installed on remote machine. And we still require a git repository on there. We could use some php libs to do commits on repository without having git installed. But can we push against a workstation that doesn't have it? And how do we do that, if it's possible?

like image 579
jayarjo Avatar asked Feb 26 '12 12:02

jayarjo


1 Answers

You can clone and push your repo to a network share on the remote machine, in this case git doesn't need to be installed. You can also clone and push to an FTP server.

I'm doing this at work, and it works perfectly.

like image 93
CharlesB Avatar answered Oct 24 '22 10:10

CharlesB