#!/bin/bash BASEDIR=$1 if [ "x$BASEDIR" = "x" ] ; then echo "No template git repo specified. Usage: $0 " exit 1 fi cd $BASEDIR git fetch git rebase