Skip to content

Instantly share code, notes, and snippets.

@baldrick
baldrick / repgit.sh
Created November 28, 2011 11:14
Repeatedly pull from a git repo to help identify problems with github
export SSH=../git-ssh-wrapper.sh
PROJ=$1
STDOUT=../repgit.$PROJ.stdout
STDERR=../repgit.$PROJ.stderr
cd $PROJ
while true
do
echo "---------------------------------------------------" >>$STDOUT
echo "---------------------------------------------------" >>$STDERR
date >>$STDOUT