Git 工具
Git Gui
要启动 Git 的图形界面,请访问Tools >Git >Git Tools >Git Gui 。
注: 在 macOS 上,默认的 Git 安装没有 Git Gui。要使用 Git Gui,请单独安装。要从Qt Creator 启动 Git Gui,请访问 "偏好设置" >Version Control >Git ,并在Prepend to PATH 中设置 Git Gui 环境的路径。
Gitk
要启动 Git 的提交查看器,请访问Tools >Git >Git Tools >Gitk 。你也可以启动该工具查看当前文档或当前文档所在文件夹中的提交。要指定运行 Gitk 的参数,请访问首选项>Version Control >Git 。
其他版本库浏览器
要使用其他应用程序查看 Git 历史记录,如 GitX 或 QGit 浏览器:
- 转到首选项>Version Control >Git 。
- 在Command 中,指定应用程序可执行文件的路径。
要启动应用程序,请访问Tools >Git >Git Tools >Repository Browser 。
Git Bash
要启动 Git Bash,请访问Tools >Git >Git Tools >Git Bash 。
合并工具
要解决合并冲突,请访问Tools >Git >Git Tools >Merge Tool 。该菜单项只有在有合并冲突需要解决时才可见。
另请参阅 " 如何使用 Git "和"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.