add .gitignore to ignore ~files
delete all exist ~files