Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.09 KB

mit-pre-commit.md

File metadata and controls

44 lines (30 loc) · 1.09 KB

mit-pre-commit

Note: This is a hook binary, you will probably never interact with it directly

Generic usage

mit-pre-commit --help
Run first, before you even type in a commit message. It's used to inspect the snapshot that's about
to be committed.

Usage: mit-pre-commit [OPTIONS]

Options:
      --completion <COMPLETION>  [possible values: bash, elvish, fish, powershell, zsh]
  -h, --help                     Print help
  -V, --version                  Print version

You can generate completion with

mit-pre-commit --completion bash

Otherwise you need to have configured some authors

mit-pre-commit
Error: mit_pre_commit::errors::stale_author_error

  × No authors set
  help: Can you set who's currently coding? It's nice to get and give the
        right credit. You can fix this by running `git mit` then the initials
        of whoever is coding for example: `git mit bt` or `git mit bt se`