Re: How to find out which gitignore blocks my git-add
- From
- bisani <bisani>
- Date
- Feb 6, 2009, 22:00 UTC
- Message-ID
- <loom.20090206T215836-960@post.gmane.org>
- In-Reply-To
- <498C0525.5040100@gonsolo.de>
Gonzo <gonzo <at> gonsolo.de> writes:
Show 12 quoted lines
> > After doing a "git add file" I get the message: > > "The following paths are ignored by one of your .gitignore files: > ..." > > Is there an easy way to find out which line in which gitignore file > blocks this add? > Would this be a viable addition to "git add -v"? > > g >
It would be nice if a -v option also lists which pattern caused it to exclude.