fi
# success, remove previous check file if any
clear_notify $REPO_DIR
- # reset to branch master if exists
- run -i ${REPO_DIR} git checkout master
# touch a stamp so it's easier to figure out where/if things get stuck
touch ${REPO_DIR}/MIRRORED.stamp
}