Stage changes

Stage your changes to commit them, so that you can push them to the remote repository or send them to Gerrit for review.

Stage the current file

To mark a new or modified file for committing it to the repository, go to Tools > Git > Current File and select Stage <file> for Commit.

To undo this action, select Unstage <file> from Commit.

Stage chunks or lines

You can stage changes for a commit chunk-by-chunk or line-by-line in the Git Diff view.

See also How To: Use Git and 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.