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!
相关问题
- Why doesn't php sleep work in the windows-subs
- Installing Pydev for Eclipse throws error
- Error building gcc 4.8.3 from source: libstdc++.so
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
相关文章
- 请教Git如何克隆本地库?
- 为什么nfs在不同版本的Linux下安装的文件都不一样
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
Have you looked at writing post-commit hooks?
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.
If the repo isn't hosted locally (ie other people pushing to a repository hosted on your hard drive), you're probably going to need some form of polling, which is going to be slow and/or painful. Look at @Abizern's idea instead and create post-receive hooks in the repositories that send out emails whenever someone pushes to them. At my company we use the stock hook scripts included in the git suite, they're pretty fantastic and useful.