fixed allSubmodulesCommit to use -a