Skip to contentSkip to conversation

tried submodules and corrupted repo

DISCUSSION Thomas Koch 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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,

Signature · 12 lines
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