Created
July 24, 2015 11:45
-
-
Save Ikke/a9e2a356d7878f647249 to your computer and use it in GitHub Desktop.
Script that watches changes in a gist repository and show git status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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