Skip to content

Instantly share code, notes, and snippets.

@CRSnyder
Created April 30, 2014 16:33
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save CRSnyder/9ea4a9f674389bac735c to your computer and use it in GitHub Desktop.
$ git filter-branch --index-filter 'git rm -r --cached c:/xampp/htdocs/LiveMusicProject/wp-content/themes/LMPTheme' --prune-empty
Rewrite ad3c6793df08933e1d185a6887badbec6dd40d09 (1/137)fatal: 'c:/xampp/htdocs/
LiveMusicProject/wp-content/themes/LMPTheme' is outside repository
index filter failed: git rm -r --cached c:/xampp/htdocs/LiveMusicProject/wp-content/themes/LMPTheme
rm: cannot remove `c:/xampp/htdocs/LiveMusicProject/.git-rewrite/revs': Permission denied
rm: cannot remove directory `c:/xampp/htdocs/LiveMusicProject/.git-rewrite': Directory not empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment