Created
November 4, 2015 19:01
-
-
Save mjhoy/5128dbf8c8731db02cd9 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 | |
# Commit changes to ~/Dropbox/org | |
set -e | |
cd /Users/mjhoy/Dropbox/org | |
if git status | grep 'working directory clean' | |
then exit | |
fi | |
git add --all . | |
git commit -m 'latest (autocommit)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment