- Qt Creator Documentation
- Git
- Qt Creator 15.0.1

Reference

# Git

You can use the Gerrit Code Review tool for projects that use Git.

## Getting started with Git

- Commit your first change
- Create VCS repositories for new projects
- Git Tools
- Initialize Git repositories
- Set up version control systems
- Use Git for Windows
- Use Git with Subversion
- Use common VCS functions

## Working with the current file

To work with the current file, go to Tools > Git > Current File.

- Show instant blame
- Stage changes
- git blame
- git diff
- git log
- git reset

## Working with the current project

To work with the current project, go to Tools > Git > Current Project Directory.

- Stage changes
- git clean
- git diff
- git log

## Working with local repositories

To work with the local repository, go to Tools > Git > Local Repository.

- Apply patches
- Interactive rebase
- git am
- git branch
- git clean
- git commit
- git diff
- git log
- git merge
- git reflog
- git reset
- git stash
- git status

## Working with remote repositories

To work with remote repositories, go to Tools > Git > Remote Repository.

- Review code with Gerrit
- git fetch
- git pull
- git push

### Managing remote repositories

To manage remote repositories available in Git, go to Tools > Git > Remote Repository > Manage Remotes. Double-click the names and URLs of the remote repositories to edit them.

The following operations are supported:

Menu Item | Description
--- | ---
Refresh | Refresh the list of remote repositories.
Add | Add a new remote repository.
Fetch | Fetch all the branches and change information from a remote repository.
Push | Push committed changes to the remote repository.
Remove | Remove a remote repository.

See also How To: Use Git, Compare files, Set up version control systems, and Version Control Systems.