add ~ file to .gitignore.