Skip to content

Instantly share code, notes, and snippets.

@timabell
Last active December 17, 2024 15:20
Show Gist options
  • Select an option

  • Save timabell/6990292 to your computer and use it in GitHub Desktop.

Select an option

Save timabell/6990292 to your computer and use it in GitHub Desktop.
poll git servers for new commits
#!/bin/sh
# https://gist.github.com/timabell/6990292
title "git poll - `pwd`"
while true
do
date
echo "Polling git servers..."
git fetch --all
git st
echo "Zzzzz"
sleep 600
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment