#!/bin/bash
#
# expects to be run from the ftl folder
set -eu -o pipefail ${SHELLFLAGS}
test -d repo || exit 1
rsync -av --delete *.ftl repo/core/templates/
(cd repo && git add core; git commit -m update; git push)