4 #initialize submodules, set-up .git/config and .gitattributes, and pre-push hook
5 git submodule init
&& git submodule update
--merge
13 *.ps filter=fat\n' > .gitattributes
16 python .nbstripout
/nbstripout.py
--install --attributes .gitattributes
18 #pre-commit and pre-push hooks: indentation, git fat push, submodules update
19 cp hooks
/* .git
/hooks
/
22 echo 'if (! "formatR" %in% rownames(installed.packages()))
23 install.packages("formatR",repos="https://cloud.r-project.org")' | R
--slave
25 #.gitfat file with remote on gitfat@auder.net
26 printf '[rsync]\nremote = gitfat@auder.net:~/files/valse\n' > .gitfat
28 #Now run git-fat init :)