{"thread":{"id":"14953","subject":"tried submodules and corrupted repo","startedAt":"2008-08-12T08:09:38Z","lastAt":"2008-08-12T08:09:38Z","messageCount":1,"participants":["Thomas Koch"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"86914","messageId":"200808121009.38941.thomas@koch.ro","threadId":"14953","inReplyTo":null,"subject":"tried submodules and corrupted repo","fromName":"Thomas Koch","fromEmail":"thomas@koch.ro","sentAt":"2008-08-12T08:09:38Z","receivedAt":"2008-08-12T08:09:38Z","isPatch":false,"sender":{"key":"thomas@koch.ro","avatar":null},"body":"Hi,\n\nin my trial to use a submodule, it seems that I messed up my repo.\n\nI've put both repos at\nhttp://git.koch.ro\nclone url is\nhttp://git.koch.ro/git/REPONAME\n\nI wanted to have the git-php-wrapper repo as a submodule inside wigit,\nwhich did not work at all. I always ended up with a git-php-wrapper\nsubdir and a .git inside it, but no workdir files.\n\nNow I wanted to start from scratch, to clone wigit again to my local\nmachine. But when I try\ngit clone http://git.koch.ro/git/wigit\nit says:\nInitialized empty Git repository in /var/checkouts/wigit/.git/\nwarning: remote HEAD refers to nonexistent ref, unable to checkout.\n\nIs there a way to resque my wigit repo? And how to get the submodule\nworking afterwards? \n\nBest regards,\n-- \nThomas Koch, Software Developer\nhttp://www.koch.ro\n\nYoung Media Concepts GmbH\nSonnenstr. 4\nCH-8280 Kreuzlingen\nSwitzerland\n\nTel    +41 (0)71 / 508 24 86\nFax    +41 (0)71 / 560 53 89\nMobile +49 (0)170 / 753 89 16\nWeb    www.ymc.ch\n"}]}