Re: Gitignore matching "git add" wildcard prevents operation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 14, 2010, 20:21 UTC
- Message-ID
- <7vljg0bfox.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20100114195234.GA26684@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> ... But there is no way to > use the shell wildcard and get the behavior you want (not even a "git > add --really-ignore-my-ignores a.*").
Perhaps you want to run
$ git add 'a.*'
Notice that the wildcard is protected from the shell.