Re: [git-users] Whitelist submodules for gitignore

2015-10-09 Thread RĂ©mi Rampin
2015-10-08 0:34 EDT, Aleksey Komarov : > Now I try to add some submodules to my repository, but have a trouble. I > use whitelist in my gitignore: > [...] > Is this behavior correct? If yes, where can I read about it? How can I add > a submodule to my repository without it

[git-users] Whitelist submodules for gitignore

2015-10-07 Thread Aleksey Komarov
Hi all! Now I try to add some submodules to my repository, but have a trouble. I use whitelist in my gitignore: * !*/ !README !*.gitignore !*.gitmodule !*.c !*.h but when I try to add submodule, I see the following output: $ git submodule add gitserver:submodule1 The following path is