Show instant blame

Instant blame annotates the current editor line with its author and the date this line was last changed. Optionally, the annotation shows the commit subject.

To show instant blame for the current file, go to Tools > Git > Current File and select Instant Blame for <file>.

Note: Instant blame is not available for unsaved files.

To show the latest real changes to the line, configure instant blame to ignore whitespace changes and line moves.

When you hover over the annotation, a tooltip with additional information is shown. From the tooltip, the following actions are available:

ActionDescription
Blame <hash>Opens the full file blame for the revision of hash.
Blame ParentOpens the full file blame for the parent revision of hash.
File at <hash>Opens the file contents at the revision of hash.
Log for line <line>Shows a log with all the commits that touched the line.
Copies the full hash to the clipboard.
commit <hash>Opens the commit hash with full description and diff.

Note: Most of these actions have no meaning for uncommmited changes.

See also How To: Use Git and Git.

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.