Coder Social home page Coder Social logo

snoringfrog / git-notify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jakeonrails/git-notify

0.0 2.0 0.0 129 KB

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

Home Page: https://github.com/jakeonrails/git-notify

Shell 100.00%

git-notify's Introduction

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 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]

git-notify's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.