Skip to content

Get a notification when a git branch changes on a remote repository (macOS & Ubuntu)

License

Notifications You must be signed in to change notification settings

Mierenga/git-informed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

git-informed

Get notifications of new commits on a remote branch

About

  • Tells you how many commits behind a remote branch your local version is
  • Notification comes through macOS or Ubuntu within 10 seconds of a new commit on the remote branch
  • Shows a shortened version of the commit logs for the new commits
  • Runs in an infinite sleepy loop

Usage

Install as git command

Put on your $PATH, e.g.

cp git-informed.sh /usr/local/bin/git-informed

Use in any repo as normal git command

git informed

# or in the background
git informed &

# with specific branch
git informed development &

Symlink in repo

ln -s git-informed.sh ~/repo/of/choice/git-informed.sh
cd ~/repo/of/choice
./git-informed.sh

Arguments

position name description
1 branch specify the branch to compare remote and local versions (defaults to HEAD)

Options

short long description
-v --verbose print the result of each remote check
-a --alert (macOS only) show modal alerts in addition to system notifications
-N --no-notification don't show system notifications (useful when -v or -a is specified)

Platforms

Works on

  • macOS (with the osascript dependency)
  • Ubuntu (with notify-send dependency)

About

Get a notification when a git branch changes on a remote repository (macOS & Ubuntu)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages