When you use
git rm --cached myfile
it doesn\'t delete from the local filesystem, which is the goal. But if you\'ve already versioned and c
git rm --cached remove_file
git add .gitignore
git commit -m "Excluding"