Can’t connect to public repo on server over localhost

0
Hi,

Still having problems connecting to my repos… In order to try and reduce the number of variables, I’ve tried installing Git GUI on the server and connecting to a public repo over localhost. Unfortunately I still get the following error:

“fatal: couldn’t find remote ref HEAD Unexpected end of command stream”

Here’s a screenshot: http://unwrong.com/dev/gitstack/public_error.jpg

You can see that the repo is public, that the HEAD file exists and that I’m connecting over the correct port.

Any ideas?

Thanks
Rob
asked May 17, 2012

5 Answers

0
What do you have in C:/gitstack/apache/logs/error.log ?
0
Weird, nothing in the logs.
Do you get something when you type in your web browser :
http://localhost/repo1.git/info/refs
Can you also try to do a git clone using a command line client ?
0
If I navigate to http://localhost/repo1.git/info/refs I see the following:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE HTML>><HTML><HEAD>
<META content="text/html; charset=windows-1252"
http-equiv="Content-Type"></HEAD>
<BODY><PRE><PRE></PRE></PRE></BODY></HTML>

GitBash isn't working though for some reason...
0
You should get something like :
3bc079f55f6e5a0cc89fae9e5f143a48a4c25ea4 refs/heads/master
I am pretty sure that something else on your system is making everything to fail. (An installation of GitStack on a clean windows works)

Your Answer

Please login to post questions.