git how to ignore local changes in file but dont delete remote code example
Example: remove folder from repo but keep locally
git rm -r --cached File-or-FolderName
git commit -m "Removed folder from repository"
git push origin master
git rm -r --cached File-or-FolderName
git commit -m "Removed folder from repository"
git push origin master