I'm trying to get git up running on a Windows server.
I have installed winssh and git on the server and now I wanted to test if everything is nice and cool. But it ain't.
I have the following url in the config file:
username@domain:GitRepo/QRCode.git
But I get the following error when I try to push:
does not appear to be a repository
I've created the repo like this:
mkdir QRCode.git
cd QRCode.git
git --bare init
And I can see all the git stuff is there at: "C:\\GitRepo\\QRCode.git"
I have also tried to change the URL to:
username@domain:c/GitRepo/QRCode.git
without any luck.
Have you tried using ssh://username@domain:...
? I'm pretty sure you need to specify the initial scheme ssh://
for the URI, otherwise git doesn't know how to access it.
Use Brain, not ass!!!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.