Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there version control systems that allow you to permanently delete files?

I need to keep under version some large files (some Gigs).

I don't need, and I can't keep under version all the version of the files. I want to be able to remove from my VCS large files version at some moment.

The files that I want to keep under version control are big .zip files or ISO images. These files may contains executable software or data (seismic data, SAR images, GNSS data) and they are provided by the software supplier of my company.

What control version system could I use?

like image 924
Andrea Francia Avatar asked Jan 27 '09 09:01

Andrea Francia


People also ask

How do I permanently delete a file in Git?

Delete Files using git rm. The easiest way to delete a file in your Git repository is to execute the “git rm” command and to specify the file to be deleted. Note that by using the “git rm” command, the file will also be deleted from the filesystem.

What are the three types of version control?

The types of VCS are: Local Version Control System. Centralized Version Control System. Distributed Version Control System.

What are the two types of version control system?

There are two types of version control: centralized and distributed.

What is the problem with keeping data files in version control?

Generated files can bloat the version control history (the size of the database that is stored in the repository). A small change to a source file may result in a rather different generated file.


2 Answers

In CVS you can do that by removing the files from the repo. Subversion allows that by dumping the content of the repo and filter it to remove the files (that is a bit cumbersome). Perforce has an obliterate command for that. Many of the newer distributed VCS make it rather difficult by their usage of hashes all over the places and the fact that your repo may have been replicated elsewhere also complicate things. Hg has a strip command (part of the Mq extension), Git can also do that I think.

like image 164
Keltia Avatar answered Sep 20 '22 23:09

Keltia


I don’t think there’s any version control system that allows you do that regularly because that goes against everything version control systems stand for.

like image 32
Bombe Avatar answered Sep 20 '22 23:09

Bombe