aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorTakuma YOSHIOKA <tashioka.256@gmail.com>2017-04-29 14:22:36 +0900
committerTakuma YOSHIOKA <tashioka.256@gmail.com>2017-04-29 14:22:36 +0900
commit2ebdac70da93e342e449841114b092acb2fca019 (patch)
tree5dfeda29f1a7079dcea3d11858d863dbd48b9072 /.gitignore
parent985f3b44b7378d95a5294b85beac6c8506810a48 (diff)
downloadgnu-social-2ebdac70da93e342e449841114b092acb2fca019.tar
gnu-social-2ebdac70da93e342e449841114b092acb2fca019.zip
Ignore whole directory, not only inner contents
`dir/*` style let git ignore files and directories in `dir/`, but not `dir/` itself. This cause `git clean -df` to remove `dir/` **with its contents**! To prevent `git clean -df` to remove data directories (`avatar/`, `file/`, etc), use `dir/` (or `dir`) style in gitignore.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore16
1 files changed, 8 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index 102173e832..57ea182b2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,11 @@
-avatar/*
-files/*
-file/*
-local/*
-_darcs/*
-logs/*
-log/*
-run/*
+avatar/
+files/
+file/
+local/
+_darcs/
+logs/
+log/
+run/
config.php
.htaccess
httpd.conf