Git Tools | Qt Creator Documentation

- Qt Creator Documentation
- Git Tools
- Qt Creator 19.0.0

Create and apply patches ◦ Initialize Git repositories

# Git Tools

## Git Gui

To start a graphical interface to Git, go to Tools > Git > Git Tools > Git Gui.

Note: On macOS, the default Git installation does not have Git Gui. To use Git Gui, install it separately. To start Git Gui from Qt Creator, go to Preferences > Version Control > Git, and set the path to the environment that has Git Gui in Prepend to PATH.

## Gitk

To start the commit viewer for Git, go to Tools > Git > Git Tools > Gitk. You can also start the tool to view commits in the current document or in the folder that has the current document. To specify arguments for running Gitk, go to Preferences > Version Control > Git.

## Other repository browsers

To use some other application for viewing Git history, such as GitX or QGit viewer:

1. Go to Preferences > Version Control > Git.
2. In Command, specify the path to the application executable.

To start the application, go to Tools > Git > Git Tools > Repository Browser.

## Git Bash

To start Git Bash, go to Tools > Git > Git Tools > Git Bash.

## Merge tools

To resolve merge conflicts, go to Tools > Git > Git Tools > Merge Tool. This menu item is visible only when you have merge conflicts to resolve.

See also How to: Use Git and Using Git.

Create and apply patches ◦ Initialize Git repositories