Browse Source

Tweaked informational messages

master
dave 2 years ago
parent
commit
eea045dac6
  1. 3
      usr.local.sbin/synch-from-repos.sh

3
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

Loading…
Cancel
Save