Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@x3ro
Created November 23, 2015 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save x3ro/cf3ddf52134aab0cdffe to your computer and use it in GitHub Desktop.
Save x3ro/cf3ddf52134aab0cdffe to your computer and use it in GitHub Desktop.
git submodule rewriting foo
git clone https://github.com/x3ro/automate sub &&
wget https://gist.githubusercontent.com/x3ro/6242017/raw/8fe69f096062f3f2b1858bcc816be5eb89d15535/git-rewrite-to-subfolder &&
chmod +x git-rewrite-to-subfolder &&
cd sub &&
../git-rewrite-to-subfolder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment