Мой .gitignore
файл выглядит так:
> cat .gitignore
.bundle
db/*.sqlite3
log/*.log
tmp/**/*
*~
Но git не игнорирует файлы, оканчивающиеся на ~
:
> git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: app/views/jobs/_form.html.erb
# modified: app/views/jobs/_form.html.erb~
# modified: public/stylesheets/jobs_new_edit.css~
Что может быть причинойза что?