Created
July 11, 2018 19:27
-
-
Save paulomcnally/89e57ae944b40915ff52b022c9c8dda4 to your computer and use it in GitHub Desktop.
Clean cache on public directory from rails projects
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 characters
| git filter-branch --force --index-filter 'git rm -r --cached --ignore-unmatch public/assets' --prune-empty --tag-name-filter cat -- --all | |
| git filter-branch --force --index-filter 'git rm -r --cached --ignore-unmatch public/packs' --prune-empty --tag-name-filter cat -- --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment