github - 在 GitHub 中为整个组织创建标签

标签 github

标签很有用。但是如果我想拥有自定义标签,我必须为每个 repo 手动创建它们 https://help.github.com/articles/creating-a-label/ .

我希望能够在组织级别创建自定义标签,以便所有存储库都具有相同的标签。

这可能吗?

最佳答案

原始答案(2018 年 9 月)
由于似乎没有组织范围的标签,您需要使用 GitHub API 编写创建过程的脚本,并且:

  • 上市all repositories in an orignation
  • 正在创建 the label in each repo

  • 更新 Oct. 2019
    在组织级别创建默认标签

    Organization administrators can visit the new Repository labels setting to standardize the default set of labels which will be added when new repositories are created.

    Adding or removing default organization labels in settings will not modify existing repositories


    查看更多“ Managing default labels for repositories in your organization
    repo labels

    关于github - 在 GitHub 中为整个组织创建标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52563832/

    相关文章:

    git - 与 Visual Studio 中的 merge 混淆

    GitHub API - 如何比较 2 个提交

    git - 远程 : Invalid username or password. 致命:身份验证失败

    javascript - 无法修改和测试 fork 的 GitHub 库 - npm 错误!找不到版本

    php - 在从 php 网页调用的 bash 脚本中克隆 git

    java - 如何解决这个 "Configuration ' 编译已过时,已替换为 'implementation' 和 'api' 。”

    git - 如何在我的本地和 github 存储库中保留一个文件的不同内容?

    github - 如何在 GitHub 上上传文件夹

    linux - Gobblin Git 克隆错误

    git - 无法推送到 GitHub,因为我已经删除了大文件