On Thu, Dec 04, 2025 at 03:59:19AM +0000, Skybuck Flying wrote:
[Skip all the interesting stuff]
Which leads to the question:
Can drive letters be avoided in git remotes ?
I think so.
Since a long time Windows supports an UNC path.
They start with a double backslash, followed by the
server and share:
\\server\share\directory\filename.txt
So when you do
net use z: \\server\share
you can do
git clone //server/share/path-to-repo
instead of
git clone z:/path-to-repo
(And git replaces '/' with '\' internally.)
I need to admit that this may be not well-known
but should work.