Subject: Re: submodule: allow submodule directory in gitignore

From: Aleksey Komarov <[email-masked]>
Date: Fri, 16 Oct 2015 16:33:35 +0700

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