I’m trying to do an access from a remote machine to a server machine which currently does not contain any git installation. The question is: Does the server machine need a git installation in any kind (i assume it needs) to work from the client only via ssh with git?
Share
Yes you need git on the server
Without git on the server, you can’t push/pull to the remote. The protocol you use to act remotely on your git repo, doesn’t change this.
Poor mans git
You can if you really need/want to just rsync your .git directory to a remote server. Because all files in the .git/objects directory are based on a hash, you won’t get any collisions.
That would mean in principle: