Using Version Control Commands (VCS) on a Local File System Without a VCS Client

Suppose I have two cars:

Client

  • Assume a window is a window
  • Suppose this is a dev-box, so all the files that should be put under source control will be here
  • Assume that the initial control is not set here.

Server

  • Assume linux box
  • Assume Git is the original selection control (installed)
  • Ssh enabled

Question: Is it possible to connect from the client to the server, say via SSH for the sake of argument and call Git commands after entering the server, but in the files of the client (local) system?

eg. SSH client (ssh only) ----- SSH server (ssh and git installed here)

            send command --> command: checkout to <client path>
            send command---> command: check-in from <client path>

: , , VCS, , SSH ; Git, mysys Git cygwin, . / Linux, .

? ( SSH, , VCS)

ssh , , ?

+3
2

ssh , , ?

, , . SAMBA Linux Windows Unix NFS; .

linux, /, , , - .

, , c:\mysource Linux- /mnt/windows/c/mysource, , git, linux . , .

+1

Ninefingers, , SSH. OpenSSH, Putty .

. , HTTP- 10.0.0.4 SSH-, :

ssh -L 8888:10.0.0.4:80 user@remotehost

, localhost:8888 .

. Windows :

ssh -R 9445:localhost:445 user@remotehost

( SSH-, Windows.)

share -, :

mount -t cifs //localhost:9445/SomeShare /mnt/mountpoint

, , .

0

Source: https://habr.com/ru/post/1733571/


All Articles