Re: Git problem in windows server
- From
- Konstantin 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.