Last active
December 15, 2015 15:19
-
-
Save samueljohn/5280700 to your computer and use it in GitHub Desktop.
Revisions
-
samueljohn revised this gist
Mar 31, 2013 . 1 changed file with 10 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,14 @@ diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://1048576` cd $(brew --repository) git checkout -b moveit git filter-branch --prune-empty --index-filter 'git ls-files --full-name --cached | grep -F --invert-match --file=/tmp/list --color=never | xargs git rm --quiet --cached --ignore−unmatch' --subdirectory-filter 'Library/Formula' -d /Volumes/ramdisk -f moveit cd the-target-repro git fetch $(brew --repository) git merge moveit -
samueljohn created this gist
Mar 31, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ git checkout -b foo git filter-branch --prune-empty --index-filter 'git ls-files --full-name --cached | grep -F --invert-match --file=/tmp/list --color=never | xargs -0 git rm -q --cached --ignore-unmatch ' --subdirectory-filter 'Library/Formula' -d /Volumes/ramdisk -f foo