Skip to content

Instantly share code, notes, and snippets.

@greyhoundforty
Created January 5, 2016 20:05
Show Gist options
  • Save greyhoundforty/3d0542e4442ecb9cb6ee to your computer and use it in GitHub Desktop.
Save greyhoundforty/3d0542e4442ecb9cb6ee to your computer and use it in GitHub Desktop.
#!/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