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

Git problem in windows server

From
LHLuis Heredia <luis.heredia@tool.es>
Date
Nov 21, 2024, 10:24 UTC
Message-ID
<e020539e-b66b-4d4d-80da-9f51d4b66683@tool.es>
Good day,
I have a problem that i can not solve after a lot of checks.

In my windows server 2019 i created a bare repository (c:/gitServer/git.git). In that server i create a new directory and I can clone it without any problem. The repository is good.

When I go to my local machine, i can start communication with ssh to the server (cmd ssh ssh://user@serverIp:port). I can navigate to the path of the repository (cd \gitServer\git ) and change anything (copy c:\temp\temp.txt). With this i can be sure that the rights in the server are correct.

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".

In server and local machine the version of git is 2.47.0.windows.2
Can anyone help me ?
Thanks
Luis
Next: Phillip Wood
Message 1 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.