On 12.10.2015 13:30, Aleksey Komarov wrote: > Now, I'm trying to add a submodule to my repository, but fail to understand why > my .gitignore prevents it from being added. I use the following command to check > if my submodule will be ignored or not: > > $ git add --dry-run --ignore-missing c/ By the way I've just consulted documentation[1]. Can --ignore-missing option be used for checking not already present directories, in addition to ordinary files? [1] https://git-scm.com/docs/git-add -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html