X-Git-Url: https://git.auder.net/?p=epclust.git;a=blobdiff_plain;f=initialize.sh;h=8cdde032982ab5c141a8aaac2b7e7a96a7424159;hp=0101283c2e9d303c01ba1eb557d940a048200472;hb=a810626c29b34a0aec00119e8245b01de1a292fc;hpb=47395e4f93feadfb1b8f6ab11742a4616b32c1d5 diff --git a/initialize.sh b/initialize.sh index 0101283..8cdde03 100755 --- a/initialize.sh +++ b/initialize.sh @@ -2,7 +2,7 @@ #initialize submodules, set-up .git/config and .gitattributes, and pre-push hook git submodule init && git submodule update --merge -#filter for git-fat [TODO: idempotent...] +#filter for git-fat echo -e '*.pdf filter=fat\n*.tar.xz filter=fat' > .gitattributes #pre-push hook: git fat push, submodules update echo -e '#!/bin/sh\n./.git-fat/git-fat pull\n./.git-fat/git-fat push\ngit submodule update --merge' > .git/hooks/pre-push