clear rc and add to gitignore