rm directory and update gitignore