git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: submodule: allow submodule directory in gitignore

From
AKAleksey Komarov <leeeeha@gmail.com>
Date
Oct 16, 2015, 09:33 UTC
Message-ID
<5620C46F.8040007@gmail.com>
In-Reply-To
<561B5372.7040508@gmail.com>
On 12.10.2015 13:30, Aleksey Komarov wrote:
Show 5 quoted lines
> 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
Previous: Aleksey KomarovNext: Jiang Xin
Message 2 of 4 in “submodule: allow submodule directory in gitignore”
  1. Aleksey KomarovOct 12, 2015
  2. Aleksey KomarovOct 16, 2015
  3. Jiang XinOct 17, 2015
  4. Aleksey KomarovOct 19, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.