Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a tool to watch a remote Git repository on Ubuntu and do popup notifications when commits are made?

I would like to have popup notifications when people make commits to repositories that I am watching. Not hosted on any particular site like github or anything, so the ability to just add the repository URL to a list of watched repositories would be needed. And as the title says, this is for Ubuntu, but cross platform is welcome!

like image 291
jakeonrails Avatar asked Feb 22 '11 18:02

jakeonrails


People also ask

How do I view a remote git?

To view your remote branches, simply pass the -r flag to the git branch command. You can inspect remote branches with the usual git checkout and git log commands. If you approve the changes a remote branch contains, you can merge it into a local branch with a normal git merge .

Can I see who viewed my git repository?

You have no way to see who has checked out your repository using standard git commands such as git clone , but you can see who has forked your repository on GitHub using the Network Graph Visualizer.

How do I watch a GitHub repository?

In the left sidebar, under the list of repositories, use the "Manage notifications" drop-down menu and click Watched repositories.

How do I see commit history?

`git log` command is used to view the commit history and display the necessary information of the git repository. This command displays the latest git commits information in chronological order, and the last commit will be displayed first.


1 Answers

And thus, git-notify was born!

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

like image 98
jakeonrails Avatar answered Oct 24 '22 01:10

jakeonrails