显示即时指责

即时指责会在当前编辑器行注释其作者和该行最后更改的日期。注释还可选择显示提交主题。

要显示当前文件的即时责任,请访问Tools >Git >Current File 并选择Instant Blame for <file>

注意: 未保存的文件无法使用即时指责功能。

要显示行的最新实际更改,请配置即时责备以忽略空白更改和行移动。

将鼠标悬停在注释上时,会显示一个包含附加信息的工具提示。从工具提示中可以执行以下操作:

菜单项说明
责备 <hash打开哈希修订版的完整文件责备。
责备父文件打开哈希值父修订版的完整文件责备。
文件在 <hash> 中打开hash 修订版本的文件内容。
行 <行> 的日志显示涉及该行的所有提交日志。
将哈希值复制到剪贴板 ( )Copy Hash to Clipboard将全部哈希值复制到剪贴板。
提交 <hash打开包含完整描述和差异的提交哈希值。

注: 这些操作中的大部分对未编辑的修改没有意义。

另请参阅 如何使用 GitGit

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.