Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
BASE_DIR=$1
repos=""
for git_dir in `cd $BASE_DIR; find . -iname .git`; do
repo=$(dirname "$git_dir");
cd $BASE_DIR/$repo
echo "Updating repo $repo"