]> source.dussan.org Git - gitignore.git/commit
Unless full paths are used .gitignore, all matching files and folders will be ignored...
authorTom Ward <tom@popdog.net>
Tue, 9 Nov 2010 07:25:48 +0000 (07:25 +0000)
committerChris Wanstrath <chris@ozmm.org>
Tue, 9 Nov 2010 07:58:18 +0000 (23:58 -0800)
commit6f6fbb0363282a32ad52670fa86785ff2d761d8e
tree87fd8d0ba33906d6073838329d343592487d7db8
parentac35a765a419b061d8cf833fae2cc90d14544a0b
Unless full paths are used .gitignore, all matching files and folders will be ignored, however deep they are in the repo.

For example, ignoring log/* doesn't just ignore all log files, but also files such as lib/project/log/awesome_logger.rb.  It's a mistake I've made a couple of times but never seemed to have learned from.
Rails.gitignore