In this page
What is SmartGit?
SmartGit is a professional Git client with a clean interface and support for GitHub, GitLab, and Bitbucket workflows. It runs on Windows, macOS, and Linux.
SmartGit guide
Learn how to get the most out of Better Commit Policy in SmartGit. If this is your Git client of choice, this guide is well worth a read.
Pre-commit check
The pre-commit check is implemented as a standard Git commit-msg hook that runs at commit time.
When you submit a commit from SmartGit, the hook automatically executes. If the pre-commit check rejects the commit, a dialog appears with the list of violations:
Of course, your changes remain staged, so you can easily fix the commit and retry.
Git configuration settings
The pre-commit check feature is configured through standard Git configuration settings.
SmartGit offers a built-in feature to modify Git configuration settings. Go to Repository → Edit Git Config → Repository to open the editor.
Alternatively, you can open a terminal and run git config commands.
Questions?
Ask us any time.