Answer the question
In order to leave comments, you need to log in
How to find out the address of your git repository?
Good afternoon.
Git server is up and running, accepting ssh connections.
The repositories are located in the D:/git/ folder.
How can I access them by address?
git clone ssh://[email protected]/D/git/repo.git
git clone [email protected]:repo.git Gives an
error
: does not appear to be a git repository
"server"
then prescribe a redirect?
Answer the question
In order to leave comments, you need to log in
Not very strong in the peculiarities of the SSH server under Windows.
But you can install the same Gitea, it is available under Windows, the paths in it can be set in the form [email protected] address:username/reponame, as on github.
What git build do you have on the server? There are options and there may be nuances when setting the url.
Try the options:
ssh://[email protected]/d/git/repo.git
ssh://[email protected]:/d/git/repo.git
ssh://[email protected]:d/git/repo.git
ssh ://[email protected]/d:/git/repo.git See the
URL format for more details.
The first version of the URL works for me on a git server from msys2.
As far as I remember, the latter works on "Git for Windows".
By the way, I recently set up a git server on Windows. It was not possible to start via ssh - any operation ended with an error. I sin on a bad channel - the server is in the middle of nowhere, and even through VPN, the speed is not a fan, the transmission delay is decent. But the VPN itself worked, ssh did the same, but git refused. I had to raise a git-daemon on the server and work through the git protocol, not ssh.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question