# tried submodules and corrupted repo

1 messages from 2008-08-12 to 2008-08-12. Participants: Thomas Koch.
Thread: https://gitlist.dev/t/14953

## Thomas Koch, 2008-08-12 08:09

Subject: tried submodules and corrupted repo
Message-ID: <200808121009.38941.thomas@koch.ro>
URL: https://gitlist.dev/e/200808121009.38941.thomas%40koch.ro

```
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

```
