On Tue, Sep 23, 2014 at 7:28 AM, Michael Mossey <[email protected]> wrote: > I'm very new to git, and so far I'm using it more like a system to back up > files and transfer them from computer to computer, no branching or anything > complicated yet. In one directory tree, most of my files are binary files, > so git can't take advantage of storing only deltas and can't compress the > files much. My database size has skyrocketed in the past month as a result. > At the moment I really don't need versions of certain files or directories > older than, say, 2 weeks. Is there a way to delete old history by that > criteria (say anything before a specific date?).
To me it sounds like you need a backup solution, not a VCS ;) There is one based on git: https://github.com/bup/bup Last I looked the UI was rather difficult... Based on my limited knowledge of git I'd run `git log <filename>` to get the latest changeset that touched the file. If the changeset is more than two weeks old, then that file can be removed. After collecting all files that can be removed it's straight forward to use `git filter-branch` to remove the files from history. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: [email protected] jabber: [email protected] twitter: magthe http://therning.org/magnus -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
