1
0
mirror of https://github.com/github/gitignore synced 2024-11-21 19:24:21 +01:00

ensure the following ! rules are included

This commit is contained in:
Brendan Forster 2017-05-15 19:31:13 +10:00 committed by GitHub
parent f88f48845d
commit 699b4a4f33

View File

@ -6,7 +6,7 @@
# the misuse of the repository as backup replacement. # the misuse of the repository as backup replacement.
# For development the cache directory can be safely ignored and # For development the cache directory can be safely ignored and
# therefore it is ignored. # therefore it is ignored.
/cache/ /cache/*
!/cache/index.html !/cache/index.html
# Ignore some files and directories from the custom directory. # Ignore some files and directories from the custom directory.
/custom/history/ /custom/history/
@ -22,6 +22,6 @@
# Logs files can safely be ignored. # Logs files can safely be ignored.
*.log *.log
# Ignore the new upload directories. # Ignore the new upload directories.
/upload/ /upload/*
!/upload/index.html !/upload/index.html
/upload_backup/ /upload_backup/