Created
January 17, 2016 04:18
-
-
Save magnunleno/38245f980ac4e4b43146 to your computer and use it in GitHub Desktop.
Limpa PDFs do repositório gjuniioor/gjuniioor.github.io.git
This file contains 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 clone [email protected]:gjuniioor/gjuniioor.github.io.git | |
cd gjuniioor.github.io | |
du -sh .git | |
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch archives/zines/magazine/h2hc/*.pdf' -- --all | |
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch archives/zines/magazine/h2hc/*.pdf' -- --all | |
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch pages/zines/magazine/h2hc/*.pdf' -- --all | |
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch pages/zines/magazine/h2hc/*.pdf' -- --all | |
git gc --aggressive --prune=now | |
git prune --expire=now | |
git reflog expire --expire-unreachable=now --rewrite --all | |
git repack -a -d | |
du -sh .git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cara, muitíssimo obrigado!!! Resolveu lindamente o problema aqui!