Git

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

Getting started with Git

Working with the current file

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

Working with the current project

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

Working with local repositories

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

Working with remote repositories

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

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 ItemDescription
RefreshRefresh the list of remote repositories.
AddAdd a new remote repository.
FetchFetch all the branches and change information from a remote repository.
PushPush committed changes to the remote repository.
RemoveRemove a remote repository.

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

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.