Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.
/ git-notify Public archive
forked from jakeonrails/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.

Notifications You must be signed in to change notification settings

betacar/git-notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

git-notify

Originally forked from jakeonrails / 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.

Usage:

Save it under the following directory to use it as a command: /usr/local/bin

then,

$ git-notify ~/code/some-git-repository origin/master &

or a is the same, $ git-notify [project_folder_path] [branch_to_monitor] &

The ampersand (&) at the end tells your terminal to launch it in the background. If you want to kill it later, you can do:

ps aux | grep git-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
jake      9558  0.0  0.0   8952   876 pts/3    S+   12:55   0:00 grep --color=auto 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, [email protected] Carlos Betancourt, [email protected]

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

Languages

  • Shell 100.0%