1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# Cocogitto configuration # https://docs.cocogitto.io/reference/config # Ignore merge commits when checking history ignore_merge_commits = true # Git hooks [git_hooks.pre-commit] script = """#!/bin/sh set -e cargo fmt git add -u """ [git_hooks.commit-msg] script = """#!/bin/sh set -e cog verify --file $1 """