Crates.io | committed |
lib.rs | committed |
version | 1.0.20 |
source | src |
created_at | 2019-08-05 13:31:33.47377 |
updated_at | 2023-08-07 21:29:36.425725 |
description | Nitpicking commit history since beabf39 |
homepage | |
repository | https://github.com/crate-ci/committed |
max_upload_size | |
id | 154282 |
size | 76,214 |
Nitpicking commit history since
beabf39
Enforce commit standards, whether for:
Download a pre-built binary (installable via gh-install.
Or use rust to install:
cargo install committed
To use committed
with pre-commit
, point its
config at this repository:
repos:
- repo: https://github.com/crate-ci/committed
rev: v1.0.20
hooks:
- id: committed
The committed
id installs a prebuilt executable from GitHub releases. If
one does not exist for the target platform, or if one built from
sources is preferred, use committed-src
as the hook id instead.
Be sure to change rev
to use the desired committed
git tag or
revision.
The hook, by default, will verify your commit message.
Verify your latest commit
committed HEAD
Verify your branch
committed master..HEAD --no-merge-commit
Have your CI verify your PR (assuming it does a no-ff merge into your master
)
committed HEAD~..HEAD^2 --no-merge-commit
See imperative
for an Azure Pipeline
example
or look at committed
s own azure-pipelines.yml
,
.travis.yml
, or appveyor.yml
.
Licensed under either of
at your option.