Skip to content

Instantly share code, notes, and snippets.

@jchip
Created June 11, 2017 21:23
Show Gist options
  • Save jchip/a84f4d6457f1b368949e909275e9b846 to your computer and use it in GitHub Desktop.
Save jchip/a84f4d6457f1b368949e909275e9b846 to your computer and use it in GitHub Desktop.
FILES=".babelrc .eslintignore .eslintrc .gitignore .npmignore .travis.yml LICENSE README.md gulpfile.js lib package.json test"
TARGET=packages/electrode-react-webapp
git filter-branch --tree-filter "for f in $FILES; do if [ -e \$f ]; then mkdir -p $TARGET; mv \$f $TARGET; fi; done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment