I'd like to remove a file locally while keeping it in future commits for git. .gitignore
can't do this, as it only ignores changes (not deletions).
An example would (generally) be as follows:
- add & commit file
- ???
- remove file, keeping in git
NB: This is not git rm --cached
. What I want is the "opposite" of this.