Git Windows Server 2019 clone

51 views
Skip to first unread message

Luis Heredia Bravo

unread,
Nov 22, 2024, 4:38:19 AM11/22/24
to git-for-windows
 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 

Konstantin Khomoutov

unread,
Nov 22, 2024, 5:01:00 AM11/22/24
to Luis Heredia Bravo, git-for-windows
On Thu, Nov 21, 2024 at 02:31:18AM -0800, Luis Heredia Bravo 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".

FWIW, the exact same discussion is already happening on the main Git list [1].

1. https://public-inbox.org/git/035401db3c4b$91ca9c70$b55fd550$@nexbridge.com/T/#t

Reply all
Reply to author
Forward
0 new messages