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
*.rbc
.bundle
.config
coverage
InstalledFiles
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
/*.gem
/*.rbc
/.bundle/
/.config
/coverage/
/InstalledFiles
/lib/bundler/man/
/pkg/
/rdoc/
/spec/reports/
/test/tmp/
/test/version_tmp/
/tmp/
# YARD artifacts
.yardoc
_yardoc
doc/
/.yardoc/
/_yardoc/
/doc/