我们使用ClearCase UCM并慢慢切换到git。
我们大量使用ClearCase attributes。例如,添加到Stream的MailTo属性。我们对此进行查询,并在案例构建失败或SCM活动(如新建议的基准线)中发送电子邮件。
git中是否有类似的构造?它是什么?
答案 0 :(得分:2)
有两个:
最近的一个是git notes
,可以留下"注意"附着在物体上,不接触物体本身(意思是不修改它们的SHA1)
将注释附加到git标记有点类似于add an attributes to an UCM baseline
请参阅" notes to self"。
另一个是git branch description(但是,Joe comments,该描述不会被推送到远程仓库)
git branch --edit-description
可用于添加描述性文字 解释一个主题分支是什么。