#!/bin/bash -ex # Any copyright is dedicated to the Public Domain. # http://creativecommons.org/publicdomain/zero/1.0/ git init fat-test cd fat-test git fat init cat - >> .gitfat < .gitattributes git add .gitattributes .gitfat git commit -m'Initial fat repository' echo 'fat content a' > a.fat git add a.fat git commit -m'add a.fat' echo 'fat content b' > b.fat git add b.fat git commit -m'add b.fat' echo 'revise fat content a' > a.fat git commit -am'revise a.fat' git fat push cd .. git clone fat-test fat-test2 cd fat-test2 git fat init git fat pull -- 'a.fa*' cat a.fat