Does any Version Control System like SVN, Git, or Mercurial let you "keep latest version" but not th
        Posted  
        
            by Jian Lin
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jian Lin
        
        
        
        Published on 2010-06-14T13:42:06Z
        Indexed on 
            2010/06/14
            13:52 UTC
        
        
        Read the original article
        Hit count: 256
        
In our project files, if there are binary files, such as .doc, .xls, .jpg, and we choose to not keep their past revisions (just keeping a latest version is ok), is there a way to tell SVN, Git, or Mercurial or some other tool to skip the revisions for these files or for a particular folder?
Say, there is a 4MB .doc file that I need to check in hundred of times, but I don't really care so much about its past versions. So if the system keeps 100 revisions of it, that's already 400MB... checking in 300 times means 1.2GB for 1 file and that's not good. Only the latest version is good so that everybody can sync to it.
© Stack Overflow or respective owner