With git rm <file>
a file can be deleted locally, removed from the versioning, and deleted on the repository. git rm --cached <file>
does nearly the same, but keeps the file in the local working copy.
Is there possible, to remove a file/folder from the versioning (so its changes are ignored) keeping it in the repository, so that if somebody clones the repo, the file is also there, but cannot be changed with a simple add
& commit
?