# First, ignore everything. /* # Explicitly ignore OS X Finder thumbnail files. .DS_Store # Unignore the contents of `Library` as that's where our code lives. !/Library/ # Ignore generated files within `Library` (again). /Library/Homebrew/doc /Library/Homebrew/test/.bundle /Library/Homebrew/test/bin /Library/Homebrew/test/vendor /Library/Homebrew/test/coverage /Library/Homebrew/test/fs_leak_log /Library/LinkedKegs /Library/Locks /Library/PinnedKegs /Library/PinnedTaps /Library/Taps # Ignore vendored files within `Library` /Library/Homebrew/vendor/portable-ruby/* # Ignore `bin` contents (again). /bin # Unignore our `brew` script. !/bin/brew # Ignore `share` contents (again). /share /share/doc /share/zsh /share/zsh/site-functions # Unignore our documentation. !/.github !/share/doc/homebrew !/share/man/man1/brew.1 # Ignore `etc` contents (again) /etc /etc/bash_completion.d # Unignore our shell completion !/etc/bash_completion.d/brew !/share/zsh/site-functions/_brew # Unignore our root-level metadata files. !/.gitignore !/.travis.yml !/.yardopts !/CODEOFCONDUCT.md !/LICENSE.txt !/README.md