It would be nice to have a checkbox in the commit view (or a prompt when the commit fails, due to pre-commit hooks) to force the commit (-n flag)
GitX (http://gitx.laullon.com/) has this option.
Example of how this works on the command line:
$ git commit -m "Added Readme file"
Pre-Commit message hook failed!
$ git commit -nm "Added Readme file"
[master 2db5767] Added Readme file
1 files changed, 1 insertions, 0 deletions
create mode 100644 README
$
[SRCTREE-1011] Force commit
Workflow | Original: JAC Suggestion Workflow [ 3371746 ] | New: JAC Suggestion Workflow 3 [ 3671955 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: SourceTree Bug Workflow [ 382741 ] | New: JAC Suggestion Workflow [ 3371746 ] |
Status | Original: Closed [ 6 ] | New: Resolved [ 5 ] |
Issue Type | Original: New Feature [ 2 ] | New: Suggestion [ 10000 ] |
Assignee | Original: KieranA [ ksenior ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Assignee | Original: Steve Streeting [ sstreeting ] | New: KieranA [ ksenior ] |
Fix Version/s | New: 1.5.4 [ 27900 ] | |
Fix Version/s | Original: 1.5.3 [ 27890 ] |
An option to bypass commit hooks has been added to the commit dialog which uses the --no-verify Git flag