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

Re: Git problem in windows server

From
KKKonstantin Khomoutov <kostix@bswap.ru>
Date
Nov 21, 2024, 19:05 UTC
Message-ID
<20241121190522.6s63bsvhxm3w5f5b@carbon>
In-Reply-To
<e020539e-b66b-4d4d-80da-9f51d4b66683@tool.es>
On Thu, Nov 21, 2024 at 11:24:42AM +0100, Luis Heredia wrote:
[...]
> The problem is when i try to clone in my windows 10 local machine (cmd git
> clone - v ssh://user@serverIp:port/gitServer/git.git c:/temp) i always
> receive the error "fatal: ´´/gitServer/git.git''  does not appear to be a
> git repository".
Does it work if you call
  git clone ssh://user@serverIp:port/c/gitServer/git.git
or may be
  git clone ssh://user@serverIp:port/c:/gitServer/git.git
?

Basically the problem appears to be in that the Git process spawned remotely in the SSH session set up by your local Git process, is given the path component of the repository URL, which is "/gitServer/git.git" in your case. Obviously, this path is not correct on Windows filesystems.

Previous: Phillip WoodNext: rsbecker@nexbridge.com
Message 3 of 5 in “Git problem in windows server”
  1. Luis HerediaNov 21, 2024
  2. Phillip WoodNov 21, 2024
  3. Konstantin KhomoutovNov 21, 2024
  4. rsbecker@nexbridge.comNov 21, 2024
  5. Konstantin KhomoutovNov 22, 2024

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.