Skip to content

Commit f8e08da

Browse files
committed
Script for cleaning binaries.
1 parent a97287c commit f8e08da

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

remove_binaries.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
git filter-repo --path-glob '*.jar' --invert-paths --force
3+
git filter-repo --path-glob '*.so' --invert-paths --force
4+
git filter-repo --path-glob '*.pyc' --invert-paths --force
5+
git filter-repo --path-glob '*.pdf' --invert-paths --force
6+
git filter-repo --path-glob '*.png' --invert-paths --force
7+
git filter-repo --path-glob '*.TAB' --invert-paths --force
8+
git filter-repo --path-glob '*.P' --invert-paths --force
9+
git filter-repo --path-glob '*.p' --invert-paths --force
10+
git filter-repo --path-glob '*.DS_Store' --invert-paths --force
11+
git filter-repo --path-glob '*test' --invert-paths --force
12+
git filter-repo --path-glob 'docs/_build/*' --invert-paths --force
13+
git filter-repo --path-glob 'examples/math_examples/*' --invert-paths --force
14+
git filter-repo --path-glob 'examples/numerical_examples/*' --invert-paths --force

0 commit comments

Comments
 (0)