This utility could help: https://github.com/makelinux/gitm/ It it is not yet tested with "submodule add" and you can request the feature. At least it tries to perform other command from outer directory with option '-C'.
Thanks -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/430e7e32-e599-46aa-a978-237c8b0d20a4%40googlegroups.com.