git 责备
默认情况下,当你在文件中移动光标时,每一行都会在编辑器中添加注释。将鼠标悬停在注释上可查看提交详情,并对提交应用操作。
代码编辑器中的即时责备
当即时指责关闭时,你可以进入Tools >Git >Current File >Instant Blame 查看当前行的指责。
在编辑器中隐藏责任
要在编辑器中隐藏责任,请转到首选项>Version Control >Git 并清除Instant Blame 。
查看整个文件的责任
要在Git Blame 视图中查看文件中所有行的责任,请转到Tools >Git >Current File 并选择Blame for <file> 。在每一行前,都可以看到该行源于哪个提交的标识符。
要隐藏视图中的日期和时间信息,请选择Omit Date 。
要查找引入最后一次真正代码修改的提交,请选择Ignore Whitespace 。
要查找在某行被移动之前引入该行的提交,请选择No Move Detection 。要查看文件内或文件间移动或复制的行,请选择Detect Moves Within File,Detect Moves Between Files 或Detect Moves and Copies Between Files 。
要重新扫描文件,请选择 (Reload)。
选择提交标识符可在Git Show 视图中显示更改的详细说明。
右键单击提交标识符可对该提交应用其他操作,如樱桃摘取、签出或还原。
查看以前版本的批注
要显示以前版本的注释,右键单击提交标识符并选择Blame Parent Revision 。这样就能浏览文件的历史记录,并获取其以前的版本。
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.