Re: [OT] trouble with .gitignore patterns
* On 2011 16 Jan 10:47 -0600, Tony van der Hoff wrote:
> On 16/01/11 16:02, Andrei Popescu wrote:
> >$ echo '!dir/'>> .gitignore
> >
> >Why is 'dir' still ignored?
> >
> Um, doesn't that mean "Don't ignore 'dir/', but ignore everything in it"?
> have you tried 'dir/*'?
The trailing * isn't even required. In one of my .gitignore files that
I just did this morning is the line:
autom4te.cache/
That directory and everything below it is ignored per `git status'
- Nate >>
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."
Ham radio, Linux, bikes, and more: http://n0nb.us/index.html
Reply to: