git on UNC path

后端 未结 7 1918
南方客
南方客 2020-12-10 00:33

I have computer with Windows XP and no Internet connection, only access to network drive. I\'d like to set up a git repository on the network drive and then push to it from

7条回答
  •  天涯浪人
    2020-12-10 01:13

    As Konstantin said, "//comp1/Proj/git/SDK/" works fine as a UNC path.

    Others mentioned poor performance using a remote file system, which I cannot reproduce. Cloning the same repo took 3min45 through encrypted VPN file system access and 3min25 through unencrypted HTTP (Bonobo Git Server). The secure channel + windows authentication for repo access is certainly worth the extra 10%.

    Note that Cygwin's "git" command does not work with this remote path. The git.exe that comes bundled with GitExtensions works fine, VS2015 works fine too.

提交回复
热议问题