Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (14 sloc) 334 Bytes
#!/bin/bash
# This finds all repositories that should be pushed to github and
# gives them a kick.
set -x
cd ~/repos/mirror
# Update the github versions
find . -mindepth 1 -maxdepth 2 -type d -name \*?.git | while read dir
do
pushd $dir
git fetch origin
~/bin/github-update
popd
sleep 5
done