This is my .gitignore file
.bundle
db/*.sqlite3*
log/*.log
*.log
tmp/*
doc/
*.swp
*~
.project
.DS_Store
log/*
Gemfile.lock
So why does it keep saying things like this:
# Changes not staged for commit:
# modified: tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
i.e Why is it not ignore my tmp dir? As the file and directory names seem to be random, I don't suppose I can add them explicitly.
Just put tmp/ on a line on its own, not tmp/*.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With