#!/bin/bash
set -e -u -x -o pipefail
shopt -s globstar
cd "$(dirname "$0")"
for git in **/.git; do
  (cd "$(dirname "$git")" && git "$@")
done
