Version Control Systems such as Subversion or GIT are designed to maintain a historical record of source code files along with associated comments and metadata (tagged revisions, etc). While this “remember everything” or “total recall” capability is useful, there may be times when you want to permanently remove files or other items from the repository history (remove large binary items, remove sensitive data, etc). While this type of maintenance is possible, the process may require a few more steps or privileges than normal to prevent the casual deletion of historical project records.
Here are a couple articles that may be helpful to someone tasked with purging specific items from a given repository:
- Subversion (SVN): Permanently remove files from repository (history) (Christopher Kramer)
- Permanently remove files and folders from Git repo (Dalibor Nasevic)