To revert (or reset) the content of one or more files to a specific commit, you can use following command:
To determine the <commit>-ID of the desired commit, you may use some kind of git log --format=oneline <file-path> combined with grep.
This places the target file contents directly into the index.
git checkout <commit> -- <file-path-1> <file-path-2> ...
git stash.
In SmartGit, select your desired commit in the Graph view, then choose the target files in the Files view and use Rollback To from the context menu.
You will have the option to place the target file contents either solely in the working tree or also in the index. SmartGit ensures that any local or existing staged changes for the files will not be overwritten.
