Re: Cloning remotely under git for Windows not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 20, 2022 at 08:58:54AM -0700, W. Ekkehard Blanz wrote:
> I am almost certain this is not a bug but a deficiency in my understanding.  But I can't be certain.  Here it goes...
>
> I copied an existing and valid bare git repository to a brand new Windows 11 machine (10.0.7.181) into D:\gitDepot\test.git
>
> The problem is that from any other machine on the LAN (Kubuntu 20.04, Raspberry Pi running buster, an M1 MacBook Pro running macOS Monterey 12.6,  and a Windows 10 box), I cannot clone it remotely.  I made sure ssh works correctly on all machines.  If I clone locally on the Windows 11 box where the repository resides, it works just fine.  Version of git on the Mac is 2.30.1, on RBPi 2.20.1, the one on Linux is 2.25.1, and Windows 10 and Windows 11 are running the git version 2.38.1-6  I downloaded the day before yesterday. Since both Windows boxes are running the latest version of git (for Windows), I'll focus on these.  Here is the output from trying from the Windows 10 machine via the LAN (but Linux, RBPi, and Mac are equivalent, modulo the dreaded backslash quirks on all non-Windows machines):
>
>    $ git clone 10.0.7.181:D:\gitDepot\test.git
>    Cloning into 'test'...
>    username@10.0.7.181's password:
>    fatal: ''D:\gitDepot\test.git'' does not appear to be a git repository
>    fatal: Could not read from remote repository.

This is somewhat out of the blue,
did you try

git clone 10.0.7.181:D:/gitDepot/test.git

What result do you get ?




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux