gitignore working with 'git rm -r --cached .'