git commit | Qt Creator Documentation

- Qt Creator Documentation
- git commit
- Qt Creator 17.0.1

How To

# git commit

To submit your changes to Git:

1. Go to Tools > Git > Local Repository and select Commit.

   General Information shows the names of the repository and branch for the commit.

2. In Commit Information, check and edit information about the author of the changes.
3. To bypass pre-commit and commit message hooks, select Bypass hooks.
4. If your project uses signoffs, select Sign off to add a signed-off-by trailer by the author at the end of the commit log message.
5. In Description, enter a commit message.
6. In Files, select the files to include in the commit.
7. Select Diff Selected Files to open the Git Diff Files view, where you can view the changes and stage them chunk-by-chunk or line-by-line.
8. Select Commit to start committing.

To view the log of the current branch, select the branch name in Branch.

See also How To: Use Git and Git.

How To