Skip to content

Instantly share code, notes, and snippets.

@frsela
Created January 18, 2013 11:28
Show Gist options
  • Save frsela/4564057 to your computer and use it in GitHub Desktop.
Save frsela/4564057 to your computer and use it in GitHub Desktop.
[WIP] Splitting notification server repository
git clone ../notification_server/
cd notification_server
git filter-branch --prune-empty --index-filter 'git rm --cached --ignore-unmatch node_modules/* test/jmeter/* test/jMeter/*' HEAD
cd ..
git clone notification_server notification_server_base
rm -rf notification_server
git clone ../notification_server/
cd notification_server
git filter-branch --prune-empty --subdirectory-filter node_modules/
cd ..
git clone notification_server notification_server_nodemodules
rm -rf notification_server
git clone ../notification_server/
cd notification_server
git filter-branch --prune-empty --subdirectory-filter test/jmeter/
cd ..
git clone notification_server notification_server_jmeter
rm -rf notification_server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment