Created
January 28, 2017 13:42
-
-
Save osyoyu/180ed54c2c966ef795959a72d1a993d0 to your computer and use it in GitHub Desktop.
git-watch for macOS
This file contains 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 | |
fswatch -0 -e '\.git' . | while read -d "" event | |
do | |
git add ${event} && git commit -m `date +%s` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment