Created
January 5, 2016 20:05
-
-
Save greyhoundforty/3d0542e4442ecb9cb6ee to your computer and use it in GitHub Desktop.
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 | |
API="<PUSHBULLET API TOKE>" | |
MSG=`pwd` | |
# cd to repo and check if file needs to be added/commited | |
# if so then send pushbullet message | |
curl -u $API: https://api.pushbullet.com/v2/pushes -d type=note -d title="Git Dirs that need commits" -d body="$MSG" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment