百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

committed

> 开发工具
开源

从 beabf39 以来对提交历史进行细致检查

173 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

从 beabf39 以来对提交历史进行细致检查

committed

Nitpicking commit history since beabf39

Enforce commit standards, whether for:

  • Readability, especially in logs
  • Consistent styling
  • Compatibility with programmatic processing

Install

Download a pre-built binary (installable via gh-install).

Or use rust to install:

bash
cargo install committed

pre-commit

To use committed with pre-commit, point its config at this repository:

yaml
repos:
  - repo: https://github.com/crate-ci/committed
    rev: v1.1.11
    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.

By default, the pre-commit install only installs hooks of the pre-commit type, so you may need to list the commit-msg hook during installation:

bash
pre-commit install -t pre-commit -t commit-msg

or update your .pre-commit-config.yaml like so:

yaml
default_install_hook_types: [pre-commit, commit-msg]

The hook, by default, will verify your commit message.

Basic Usage

Verify your latest commit

bash
committed HEAD

Verify your branch

bash
committed master..HEAD --no-merge-commit

Have your CI verify your PR (assuming it does a no-ff merge into your master)

bash
committed HEAD~..HEAD^2 --no-merge-commit

See imperative for a GitHub Actions example or look at committed's own GitHub Actions pipeline, .travis.yml, or appveyor.yml.

Reference

Contribute

License

Licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or )
  • MIT license (LICENSE-MIT or )

at your option.

Issues· 22 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustgit

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具