[$HOME/.password-store] checkout = mkdir -p $MR_REPO && cd $MR_REPO && git init && for host in albatross fishbowl lotus; do [ $(hostname) != $host ] || continue git remote add $host ${host}:${MR_REPO#$HOME/} && git pull --rebase ${host} refs/heads/master done update = __branch="$(git name-rev --name-only HEAD)" && git branch -ar | grep "$__branch" | while read ref; do git pull --rebase "${ref%/$__branch}" refs/heads/"$__branch" done; unset __branch fixups = for i in checkout merge commit; do ln -sf ../../export-database $MR_REPO/.git/hooks/post-$i; done [${XDG_CONFIG_HOME:-$HOME/.config}/vcsh/repo.d/pass.git] checkout = vcsh clone madduck-anon:etc/pass.git