是否有工具可以在Ubuntu上监视远程Git存储库并在提交时发出弹出通知? [英] Is there a tool to watch a remote Git repository on Ubuntu and do popup notifications when commits are made?

查看:79
本文介绍了是否有工具可以在Ubuntu上监视远程Git存储库并在提交时发出弹出通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当人们对我正在监视的存储库进行提交时,我希望收到弹出通知。不在任何特定站点(例如github或任何其他站点)上托管,因此需要将存储库URL添加到受监视的存储库列表中的功能。就像标题中所说的,这是针对Ubuntu的,但是欢迎跨平台使用!

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!

推荐答案

因此, git-notify 诞生了!

这个小bash脚本将监视您的来源/ master每60秒更新一次,并使用notify-send来提醒您新的提交。

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

这篇关于是否有工具可以在Ubuntu上监视远程Git存储库并在提交时发出弹出通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆