Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: submodule: allow submodule directory in gitignore

From: Aleksey Komarov <hidden>
Date: 2016-06-15 23:06:53

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help