Skip to content

Instantly share code, notes, and snippets.

@Ikke
Created July 24, 2015 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ikke/a9e2a356d7878f647249 to your computer and use it in GitHub Desktop.
Save Ikke/a9e2a356d7878f647249 to your computer and use it in GitHub Desktop.
Script that watches changes in a gist repository and show git status
#!/bin/bash
while :
do
clear
git status -sb
inotifywait -qr -e modify -e create -e move -e delete . 2>&1 > /dev/null
sleep 0.3
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment