Skip to content

This little bash script will watch your origin/master for updates every 60 seconds and uses notify-send to alert you of new commits.

Notifications You must be signed in to change notification settings

jakeonrails/git-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

git-notify

This little bash script will watch your origin/master for updates every 60 seconds and uses notify-send to alert you of new commits.

I asked this question on StackOverflow to find out if there was a tool to notify me of commits to remote git repositories, and the answer came back no!

Thus, git-notify was born!

Usage:

~/code/some-git-repository $ git-notify

The script will run in the background. If you want to kill it later, you can do:

ps aux | grep '[g]it-notify'

Which will output something like:

jake      9541  0.0  0.0  12012  1392 pts/3    S    12:54   0:00 /bin/bash ./git-notify

Note the first number in the list, 9541, that is the PID of the script. You can now terminate it like so:

kill 9541

Installation:

Just download git-notify and put it somewhere in your path.

Jake Moffatt, jakeonrails@gmail.com

About

This little bash script will watch your origin/master for updates every 60 seconds and uses notify-send to alert you of new commits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages