• YOSHIOKA Takuma's avatar
    Ignore whole directory, not only inner contents · 2ebdac70
    YOSHIOKA Takuma authored
    `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.
    2ebdac70