From: Aleksey Komarov <leeeeha@gmail.com>
To: git@vger.kernel.org
Subject: Re: submodule: allow submodule directory in gitignore
Date: Fri, 16 Oct 2015 16:33:35 +0700 [thread overview]
Message-ID: <5620C46F.8040007@gmail.com> (raw)
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
next prev parent reply other threads:[~2015-10-16 9:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 6:30 submodule: allow submodule directory in gitignore Aleksey Komarov
2015-10-16 9:33 ` Aleksey Komarov [this message]
2015-10-17 12:46 ` Jiang Xin
2015-10-19 2:24 ` Aleksey Komarov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5620C46F.8040007@gmail.com \
--to=leeeeha@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).