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.
我试图找出如何获取代码历史报告,在该报告中我获取每个代码行的文件版本。我不需要为每个代码行获取多行。只有一个。'annotate' 子命令有很多参数,我找不到适合这个目的的好参数。你知道怎么得到吗?
非常感谢
每个代码行的文件版本
这几乎看起来像cleartool annotate命令的最后一个示例:
cleartool annotate -out - -fmt "%Vn |" -rm -nheader util.c
含义:没有标题,只有文本行注释,包括已删除的注释。