diff --git a/bin/git-submodule-fix b/bin/git-submodule-fix new file mode 100755 index 0000000..889575a --- /dev/null +++ b/bin/git-submodule-fix @@ -0,0 +1,7 @@ +#!/bin/bash + +for arg +do + echo $arg + find . -name "`basename $arg`" | grep "$arg\$" | xargs rm -fr +done