Skip to content

Instantly share code, notes, and snippets.

@vovayatsyuk
Created December 8, 2014 09:16
Show Gist options
  • Select an option

  • Save vovayatsyuk/271e5442ce54709e649b to your computer and use it in GitHub Desktop.

Select an option

Save vovayatsyuk/271e5442ce54709e649b to your computer and use it in GitHub Desktop.
Git submodules for every directory
git init
for module in *; do git submodule add "./$module"; done;
git commit -m "Initial commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment