Skip to content

Instantly share code, notes, and snippets.

@itayw
Created February 9, 2015 18:05
Show Gist options
  • Save itayw/0ed41acc06bb481688b4 to your computer and use it in GitHub Desktop.
Save itayw/0ed41acc06bb481688b4 to your computer and use it in GitHub Desktop.
re add submodule
$ git ls-files --stage wiki
160000 5a7f18e56b951d94d087887a678c3b6654def187 0 wiki
$ git rm --cached wiki
rm 'wiki'
$ git submodule add https://github.com/joola/joola.wiki.git wiki
Adding existing repo at 'wiki' to the index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment