Supposing I have two machines setup:
Client
- Let's assume a windows box
- Let's assume this is a dev box, so all of the files to be put under source control will be here
- Let's assume no source control installed here
Server
- Let's assume a linux box
- Let's assume Git is the source control of choice (installed)
- SSH enabled
Question: Is it possible to connect from the client to the server, let's say over SSH for the sake of argument, and invoke the Git commands once logged into the server, but on the files of the client (local) system?
e.g. SSH client (only ssh) ----- SSH Server (ssh and git installed here)
send command --> command: checkout to <client path>
send command---> command: check-in from <client path>
Rationale: In other words, rather than installing a software client for the VCS, I'd like SSH to act as the enabler; In the case of Git, although mysys for git and cygwin solutions both exist, each has its own drawbacks -- So I'd like to compile/setup the full-featured version on a Linux box, but still allow source control to happen from windows.
Is this possible? (doesn't have to be SSH, any protocol will do, as long as it doesn't require a software client of the VCS)
Could I ssh to the server, mount the client path to the source files, then perform the version control commands on all files of that path?