- Qt Creator Documentation
- git clean
- Qt Creator 20.0.0

git branch ◦ git commit

# git clean

You can remove files that are not under version control from the project or local repository.

- To clean the current project directory, go to Tools > Git > Clean Directory of Project <name> and select Current Project Directory.
- To clean the local repository, go to Tools > Git > Local Repository and select Clean.

To clean the directory or repository:

1. In the Clean Repository dialog, select the files to delete.

   Clean Repository dialog By default, ignored files are not selected.

2. Select Delete to remove the selected files.

See also How to: Use Git and Using Git.

git branch ◦ git commit