1
0
mirror of https://github.com/github/gitignore synced 2024-12-02 16:35:44 +01:00

Slashify Ruby files and directories.

Perhaps this is a little pedantic, but without the initial / all
such matches within the repository get ignored, and without the
trailing slash files as well as directories of that name get ignored.
e.g. Specifying `tmp` and `test/tmp` without slashes is redundant, as
`tmp` already ignores `test/tmp`, as well as every other `tmp` and
`tmp/`.
This commit is contained in:
tiredpixel 2013-04-12 19:34:36 +01:00
parent 0aeefb48c0
commit 5b1b303ab3

View File

@ -1,18 +1,18 @@
*.gem /*.gem
*.rbc /*.rbc
.bundle /.bundle/
.config /.config
coverage /coverage/
InstalledFiles /InstalledFiles
lib/bundler/man /lib/bundler/man/
pkg /pkg/
rdoc /rdoc/
spec/reports /spec/reports/
test/tmp /test/tmp/
test/version_tmp /test/version_tmp/
tmp /tmp/
# YARD artifacts # YARD artifacts
.yardoc /.yardoc/
_yardoc /_yardoc/
doc/ /doc/