Re: Fwd: Git and Large Binaries: A Proposed Solution
- From
Scott Chacon <schacon@gmail.com>
- Date
- Jan 26, 2011, 03:42 UTC
- Message-ID
- <AANLkTimE+s81Xbj4snNX0WWxG8x=qSwaQWfK+08+1Zy+@mail.gmail.com>
- In-Reply-To
- <20110123141417.GA6133@mew.padd.com>
Hey,
Sorry to come in a bit late to this, but in addition to git-annex, I wrote something called 'git-media' a long time ago that works in a similar manner to what you both are discussing.
Much like what peff was talking about, it uses the smudge and clean filters to automatically redirect content into a .git/media directory instead of into Git itself while keeping the SHA in Git. One of the cool thing is that it can use S3, scp or a local directory to transfer the big files to and from.
Check it out if interested:
https://github.com/schacon/git-media
On Sun, Jan 23, 2011 at 6:14 AM, Pete Wyckoff <pw@padd.com> wrote:
Show 7 quoted lines
> peff@peff.net wrote on Fri, 21 Jan 2011 17:24 -0500: > > Just a quick aside. Since (a2b665d, 2011-01-05) you can provide > the filename as an argument to the filter script: > > git config --global filter.huge.clean huge-clean %f >
This is amazing. I absolutely did not know you could do this, and it would make parts of git-media way better if I re-implemented it using this. Thanks for pointing this out.
Scott