Skip to main content

此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-09-22. 已停止发布的版本不受支持。 即使针对重大安全问题,也不会发布补丁。 若要获得更好的性能、改进的安全性和 GitHub Enterprise Server 中的新功能,请参阅升级过程的 Overview。 如需升级帮助,请联系 GitHub Enterprise 支持。

Teams 中 GitHub 集成的命令参考

查看可在 Teams 中使用 GitHub 集成的命令。

在Microsoft Teams通道中使用这些命令,方法是使用 @GitHub Notifications 作为前缀。 在 GitHub 个人应用中,省略前缀。

命令说明
@GitHub Notifications help显示帮助文档。
@GitHub Notifications signin连接您的GitHub账户。
@GitHub Notifications subscribe OWNER/REPO订阅频道到存储库。
@GitHub Notifications subscribe OWNER/REPO [feature]订阅通道以获取特定的通知功能。
@GitHub Notifications subscribe list列出频道中的订阅。
@GitHub Notifications subscribe list features列出频道中的订阅和订阅功能。
@GitHub Notifications unsubscribe OWNER/REPO取消订阅某个存储库的频道。
@GitHub Notifications unsubscribe OWNER/REPO [feature]取消订阅频道的特定功能。
@GitHub Notifications schedule ORGANIZATION在此频道中列出和管理为组织设置的提醒。
@GitHub Notifications schedule list列出在此频道中配置的所有提醒。
@GitHub Notifications signout断开你的 GitHub 账户连接并移除订阅。

有关支持的通知功能的列表,请参阅 在 Teams 中为 GitHub 自定义通知