Skip to content

Instantly share code, notes, and snippets.

View seocam's full-sized avatar

Sergio Oliveira seocam

  • Uber
  • Brazil
  • 12:07 (UTC -03:00)
View GitHub Profile
#!/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"