Skip to content

Instantly share code, notes, and snippets.

@x3ro
Created November 23, 2015 09:18
Show Gist options
  • 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