git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Cloning remotely under git for Windows not working

From
Torsten Bögershausen <tboegi@web.de>
Date
Oct 20, 2022, 17:24 UTC
Message-ID
<20221020172405.oet6twwiehpjemkd@tb-raspi4>
In-Reply-To
<5E2E10BE-6EEB-4C78-A489-5899400DA937@gmail.com>
On Thu, Oct 20, 2022 at 08:58:54AM -0700, W. Ekkehard Blanz wrote:
Show 11 quoted lines
> 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 ?
Previous: W. Ekkehard BlanzNext: Erik Cervin Edin
Message 2 of 9 in “Cloning remotely under git for Windows not working”
  1. W. Ekkehard BlanzOct 20, 2022
  2. Torsten BögershausenOct 20, 2022
  3. Erik Cervin EdinOct 20, 2022
  4. Erik Cervin EdinOct 20, 2022
  5. W. Ekkehard BlanzOct 20, 2022
  6. Erik Cervin EdinOct 21, 2022
  7. W. Ekkehard BlanzOct 22, 2022
  8. Erik Cervin EdinOct 21, 2022
  9. W. Ekkehard BlanzOct 20, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.