You are not logged in.

#1 2013-10-22 07:20:58

gdrost
Member
Registered: 2013-10-22
Posts: 4

Git not recognizing working repository

Edit: Just noticed I posted this in the Installation forum. I should drink my coffee before posting, since this obviously belongs into the Applications & Desktop Environments forum. Can someone move  this please?

Recently made the switch from (X)ubuntu to arch and I really like it. Unfortunately, I ran into quite a problem yesterday evening. As most developers, I use git to manage my project files. For this, I have a small VPS running Ubuntu Server 12.04 LTS with git (1.7.9.5) over http. With arch, when trying to clone one of my repos, I get an error message:

{url} not valid, is this a git repository?

I switched to my Windows install (on which I normally only game), and there it clones just fine. I used SmartGit/Hg's integrated git binary on Windows, which is in the 1.7.9 range. On google I can't seem to find people with similar problems, but what I did come across a lot is the request to run git ls-remote with GIT_TRACE=1, so I did, and here's the output:

[gerrit@gerrit-desktop ~]$ env GIT_TRACE=1 git ls-remote {url}
trace: built-in: git 'ls-remote' '{url}'
trace: run_command: 'git-remote-http' '{url}' '{url}'
trace: run_command: '/usr/lib/seahorse/seahorse-ssh-askpass' 'Password for '\''{base-url}'\'': '

(process:1327): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
fatal: {url}/info/refs not valid: is this a git repository?

I replaced all references to my server into {url}, I double-checked them and they are correct. I also double-checked my password. What can I do? I'd like to try an earlier version of git but it doesn't seem to be trivial to downgrade git. Any Ideas?

Last edited by gdrost (2013-10-22 07:22:28)

Offline

#2 2013-10-22 07:26:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Git not recognizing working repository

Moving to Apps and DEs...


Is it only your repos? What happens when you clone a github repo?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-10-22 07:31:39

gdrost
Member
Registered: 2013-10-22
Posts: 4

Re: Git not recognizing working repository

A friend of mine has a very similar VPS setup (also using Ubuntu Server 12.04 + redmine + git) and I can clone his git repos. I'll try a github one right now.

Edit: Cloned a github repo just fine.

Last edited by gdrost (2013-10-22 07:34:40)

Offline

Board footer

Powered by FluxBB