Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经用 git 存储库配置了 redmine。存储库正确更新,我可以毫无问题地浏览 redmine 中的所有存储库分支。但是,相关修订不会自动显示在对除 master 之外的任何分支的提交的问题中。
如果我跳转到存储库选项卡并浏览有问题的分支,我可以看到我最近的提交,并且只有在这一步之后,相关的修订才会在它们所引用的问题下列出。
无论我的更改提交到哪个分支,如何自动更新相关的修订?
通常,有三种方法可以将提交加载到 Redmine:
我猜,为 post-commit 钩子或在 cron 下运行的脚本会检查它是否是 master,然后更新 Redmine。所以,你需要检查这个脚本。
也可以看看: