On Tue, May 15, 2012 at 10:13 PM, Ray Satiro <[email protected]> wrote:
> >________________________________ > > From: Sasikanth babu <[email protected]> > > >+/lib/dirname-lgpl.o > >+/lib/dup-safer-flag.o > >+/lib/dup-safer.o > >+/lib/exitfail.o > >+/lib/fatal-signal.o > >+/lib/fcntl.o > > Why not *.o *~ etc instead. Also you can have multiple gitignore files, so > you can have the main one for stuff like *.o and then stuff specific to a > directory can go in that directory's gitignore. From your list I notice > there are already multiple .gitignores, did you check them > Yes, you are right *.o *~ is best way of doing. But for some files like Makefile and generated header files we have to mention absolute name including path. In original clone, I could not find any gitignore after doing "./bootstrap" only the following .gitignore files are created. Thats why I had ignored it, I may be wrong. ./po/.gitignore ./lib/.gitignore ./lib/glthread/.gitignore ./gnulib/.gitignore ./gnulib/doc/.gitignore ./build-aux/snippet/.gitignore ./build-aux/.gitignore ./m4/.gitignore
