diff --git a/usr.local.sbin/synch-from-repos.sh b/usr.local.sbin/synch-from-repos.sh index 0cafb3b..88fe808 100644 --- a/usr.local.sbin/synch-from-repos.sh +++ b/usr.local.sbin/synch-from-repos.sh @@ -20,10 +20,11 @@ do STATUS="$(git status | tail -n1)" if [[ ! ${STATUS} =~ "nothing to commit" ]] then - echo "need to fix $ANSBASE, showing diff on next line" + echo "fix required - showing diff on next line:" git diff git fetch origin &> /dev/null git reset --hard origin/master &> /dev/null + echo "$(date +'%F_%R:%S') ${REPO} fixed!" else echo " ${STATUS}" fi