Created
October 19, 2009 16:20
-
-
Save hitode909/213493 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
#!/usr/bin/env ruby | |
require "ruby-growl" | |
if `git log --pretty=oneline origin..HEAD 2> /dev/null`.length > 0 | |
growl = Growl.new "127.0.0.1", "git-reminder", ["message"] | |
growl.notify "message", "Git Reminder", "#{File.basename(Dir.pwd)} has local commit." | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment