Skip to content

Instantly share code, notes, and snippets.

@taai
Created July 26, 2012 07:53
Show Gist options
  • Save taai/3180830 to your computer and use it in GitHub Desktop.
Save taai/3180830 to your computer and use it in GitHub Desktop.
git submodule add git://github.com/zombor/KOstache.git modules/kostache
git submodule init
git submodule update --init --recursive
this gives me an error:
fatal: Not a git repository: ../../../../../../../../..//c/var/www/portal/htdocs/.git/modules/modules/kostache/modules/vendor/mustache
Failed to recurse into submodule path 'modules/kostache'
@taai
Copy link
Author

taai commented Jul 26, 2012

I ended up with this dirty commands:

mkdir modules/kostache
cd modules/hostache
git clone git://github.com/zombor/KOstache.git .
git submodule init
git submodule update --init
cd ../../
git submodule add git://github.com/zombor/KOstache.git modules/kostache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment