greyhoundforty
1/5/2016 - 8:05 PM

git_daily_check.sh

#!/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"