From: Aleksey Komarov Date: Fri, 16 Oct 2015 09:33:35 GMT Subject: Re: submodule: allow submodule directory in gitignore Message-ID: <5620C46F.8040007@gmail.com> In-Reply-To: <561B5372.7040508@gmail.com> 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