[general] directory = "hooked" template = "test.sh" [[pre_commit]] name = "Pre Commit 1" command = "exit 0" staged = ["*.txt"] on_failure = "continue" [[pre_commit]] name = "Pre Commit 2" script = "test.sh" on_failure = "stop"