threads / discuss / 14953

tried submodules and corrupted repo

Subject: tried submodules and corrupted repo

## tl;dr

One message between Aug 12, 2008 and Aug 12, 2008.

replies: 0people: 1as markdown or json

Thomas Koch· Aug 12, 2008, 08:09 UTC · lore
Hi,
in my trial to use a submodule, it seems that I messed up my repo.

I've put both repos at http://git.koch.ro clone url is http://git.koch.ro/git/REPONAME

I wanted to have the git-php-wrapper repo as a submodule inside wigit, which did not work at all. I always ended up with a git-php-wrapper subdir and a .git inside it, but no workdir files.

Now I wanted to start from scratch, to clone wigit again to my local machine. But when I try git clone http://git.koch.ro/git/wigit it says: Initialized empty Git repository in /var/checkouts/wigit/.git/ warning: remote HEAD refers to nonexistent ref, unable to checkout.

Is there a way to resque my wigit repo? And how to get the submodule working afterwards?

Best regards,
-- 
Thomas Koch, Software Developer
http://www.koch.ro

Young Media Concepts GmbH
Sonnenstr. 4
CH-8280 Kreuzlingen
Switzerland

Tel    +41 (0)71 / 508 24 86
Fax    +41 (0)71 / 560 53 89
Mobile +49 (0)170 / 753 89 16
Web    www.ymc.ch

← back to recent threads