问题描述
例如,https://github.com/vanillaforums/Garden
是 GitHub 存储库.但我只想观看"存储库中的这个目录 https://github.com/vanillaforums/Garden/tree/master/plugins
.
For example, https://github.com/vanillaforums/Garden
is the GitHub repository. But I only want to 'watch' this directory https://github.com/vanillaforums/Garden/tree/master/plugins
in the repository.
我该怎么做?好像没有办法.
How do I do that? There doesn't seem to be a way.
推荐答案
GitHub 为可以执行此操作的目录和文件提供 RSS 提要.请参阅设置 Github Commit RSS 提要
GitHub provides RSS feeds for both directories and files that can do this. See Setting up an Github Commit RSS feed
使用它,您可以使用诸如 https://blogtrottr.com/ 之类的服务来设置电子邮件警报以发送每当更新提要时,您都会收到一封电子邮件.
Using that you can set up an email alert using a service like https://blogtrottr.com/ to send you an email whenever the feed is updated.
示例:要观看此目录:https://github.com/torvalds/linux/tree/master/Documentation使用这个原子提要 https://github.com/torvalds/linux/commits/master/Documentation.atom
Example: To watch this directory:https://github.com/torvalds/linux/tree/master/Documentation use this atom feed https://github.com/torvalds/linux/commits/master/Documentation.atom
示例:观看文件:https://github.com/torvalds/linux/commits/master/Documentation/Makefilehttps://github.com/torvalds/linux/commits/master/Documentation/Makefile.atom
这篇关于如何仅“观看"GitHub 存储库中的目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!