Is it possible to store only a checksum of a large file in git?
        Posted  
        
            by Andrew Grimm
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Andrew Grimm
        
        
        
        Published on 2009-10-01T01:37:22Z
        Indexed on 
            2010/03/19
            19:01 UTC
        
        
        Read the original article
        Hit count: 243
        
git
|large-files
I'm a bioinformatician currently extracting normal-sized sequences from genomic files. Some genomic files are large enough that I don't want to put them into the main git repository, whereas I'm putting the extracted sequences into git.
Is it possible to tell git "Here's a large file - don't store the whole file, just take its checksum, and let me know if that file is missing or modified."
If that's not possible, I guess I'll have to either git-ignore the large files, or, as suggested in this question, store them in a submodule.
© Stack Overflow or respective owner