add .gitignore for tmp folder
fix .gitignore to ignore config cache
delete files on server from tmp folder to avoid conflict