git rm --cached The CMakeFiles directory, might work...