Git problem in windows server
- From
- Luis 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