Stage changes | Qt Creator Documentation

- Qt Creator Documentation
- Stage changes
- Qt Creator 17.0.1

How To

# 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.

How To