0
내 .gitignore
파일은 다음과 같습니다git에서 ~로 끝나는 파일을 무시하는 방법?
> cat .gitignore
.bundle
db/*.sqlite3
log/*.log
tmp/**/*
*~
하지만, 자식은 ~
로 끝난 파일을 무시하지 않습니다
> 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~
그것을 위해 일 ereason 무엇을 할 수 있을까?
@ kan이 정확히 원하는대로 답변하고, 개인적인 제안이 있다고 생각합니다.'set nobackup '을'.vimrc'에 추가하십시오. 그러면'*. * ~'파일을 더 이상 생성하지 않습니다. :) – Kjuly