Skip to content

Instantly share code, notes, and snippets.

Created December 4, 2015 09:37
Show Gist options
  • Save anonymous/9c9667882af04c7db157 to your computer and use it in GitHub Desktop.
Save anonymous/9c9667882af04c7db157 to your computer and use it in GitHub Desktop.
#!/bin/bash
dir=${1:-.}
cd $dir
git status --short 2
if [ $? -ne 0 ]; then
exit 1
fi
while :; do git fetch; echo -n "."; sleep 60; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment