Created
February 25, 2010 12:45
-
-
Save yaotti/314516 to your computer and use it in GitHub Desktop.
notify git-push had succeed or failure with growl
This file contains hidden or 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/zsh | |
git push $@ | |
if [ $? = 0 ]; then | |
growlnotify Succeed -a GitX -m 'successfully pushed' | |
else | |
growlnotify Fail -a CyberDuck -m 'git push failed' | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment