GitIgnore in subdirectories of Git Repos
by Joseph on Apr 25th in tools
Okay – fair warning… For those of you who have been using Git for EONS this may seem obvious.
Did you know you can add .gitignore files in sub-directories? I did not! I discovered this when I told SmartGit to ignore *.html files. In a specific project, I don’t need them because they are just LinqPad output files. Well, come to find out, SmartGit created the .gitignore file inside the LinqPad “queries” folder, so only the *.html files in that directory get ignored.
Pretty cool!