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。我们想让用户强制在评论开头输入问题#。像“问题 3222:修复结果变化”。有没有办法配置某种正则表达式,以便在提交之前进行此检查?
谢谢,萨蒂什
你可以看看pre-commit hook。