node-commit-msg - Git commit message validator

  •        9

commit-msg is a customizable git commit message parser and validator written in Node.js. It validates a given string based on best practices and can be used as a git hook, command line tool and/or directly through the API. Only use it if you agree with the guidelines it follows and if the customization it offers is enough to meet your needs. I will not accept changes that do not adhere to the general rules outlined in the guidelines document, unless they come with very compelling reasons.

https://github.com/clns/node-commit-msg

Dependencies:

chalk : ^2.4.1
clone : ^2.1.2
commander : ^2.19.0
semver : ^5.6.0

Tags
Implementation
License
Platform

   




Related Projects

fit-commit - A Git hook to validate your commit messages based on community standards.

  •    Ruby

A Git hook to validate your commit messages based on community standards. This creates a .git/hooks/commit-msg script which will automatically check your Git commit messages.

cz-cli - The commitizen command line utility.

  •    Javascript

When you commit with Commitizen, you'll be prompted to fill out any required commit fields at commit time. No more waiting until later for a git commit hook to run and reject your commit (though that can still be helpful). No more digging through CONTRIBUTING.md to find what the preferred format is. Get instant feedback on your commit message formatting and be prompted for required fields. Now, simply use git cz instead of git commit when committing.

pre-commit - Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit

  •    Javascript

pre-commit is a pre-commit hook installer for git. It will ensure that your npm test (or other specified scripts) passes before you can commit your changes. This all conveniently configured in your package.json. But don't worry, you can still force a commit by telling git to skip the pre-commit hooks by simply committing using --no-verify.

safe-commit-hook - pre-commit hook for Git that checks for suspicious files.

  •    Python

This is a git pre-commit hook that is inspired by the Gitrob project. They are currently in JSON format at ~/.safe-commit-hook/git-deny-patterns.json.

git_commit_message - Git commit message: how to write a great git commit message and commit template for version control

  •    

To write a great git commit message, take a look at these guidelines and suggestions. Read these guidelines and suggestions, then discuss them with your teammates.


git-secrets - Prevents you from committing secrets and credentials into git repositories

  •    Shell

Prevents you from committing passwords and other sensitive information to a git repository.git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories. If a commit, commit message, or any commit in a --no-ff merge history matches one of your configured prohibited regular expression patterns, then the commit is rejected.

life-commit - 🏃📆 Life as a git. Commit on your life.

  •    Javascript

🏃📆 Life as a git. Commit on your life. In order to use life-commit, make sure that you have Node version 6.0.0 or higher.

pre-commit - A slightly improved pre-commit hook for git

  •    Javascript

A slightly improved pre-commit hook for git

precommit-hook - An npm installable git pre-commit hook used to lint and test your code

  •    Javascript

This module is a handy little tool that I wrote to help enforce code quality in Node.js projects. It allows you to run any scripts defined in your package.json before a commit is made. Version 2.0.0 of this module (and the current master branch in this repository) has been updated to use git-validate, as such the configuration key in package.json will be changed to "pre-commit" with a dash, instead of the old "precommit". All other functionality should work the same.

git-confirm - :question: Git hook to catch placeholders and temporary changes (TODO / @ignore) before you commit them

  •    Shell

Git hook to catch placeholders and temporary changes (TODO / @ignore) before you commit them. If you're security conscious, you may be reasonably suspicious of curling executable files. Here you're on HTTPS throughout though, and you're not piping directly to execution so you can check contents and the hash (against MD5 04baf1f87974681a92ee7fe8c0aa3aaa for v0.2.1) before using this, if you like.

committia.vim - A Vim plugin for more pleasant editing on commit messages

  •    Vim

When you type git commit, Vim starts and opens a commit buffer. This plugin improves the commit buffer. committia.vim splits the buffer into 3 windows; edit window, status window and diff window. You no longer need to repeat scroll and back to the former position in order to see a long commit diff. If the width of Vim window is too narrow (160 characters by default), committia.vim falls back to single column mode, which has 2 windows; edit window and diff window.

commit-message-emoji - Every commit is important

  •    

Prepend every commit message with an emoji with this form: <emoji> commit message. Here are some ways to more easily integrate emoji into your workflow.

husky - :dog: Git hooks made easy

  •    Javascript

By default, husky expects your project's package.json and your .git directory to be at the same level. It can be configured to support monorepos or sub-directories.Check documentation for more.

github-changes - Generate a changelog based on merged pull requests or commit messages

  •    Javascript

For further details and specifics on how to use (and to contribute), see grunt-github-changes. When a pull request is merged with "Squash and merge", there isn't a merge commit. By checking the commit message for (#123) etc, we can match the correct pull request.

gitreflow - Reflow automatically creates pull requests, ensures the code review is approved, and squash merges finished branches to master with a great commit message template

  •    Ruby

Reflow will make your life easier. Reflow automatically creates pull requests, ensures the code review is approved, and merges finished branches to master with a great commit message template.

CommitTasks - A combination between git commit & todo list :tada:

  •    Javascript

CommitTasks is a small, robust cli for developers to plan and manage their git commits in multiple projects. In other words, CommitTasks is a combination of git commit & todo list. With just a few examples, the users can learn to plan, prepare and commit their changes with confident. In all the examples bellow, if your current working directory has the same name as your project name in CommitTasks list then you can replace your project name with a . character.

gitmoji-cli - A gitmoji interactive command line tool for using emojis on commits. 💻

  •    Javascript

A gitmoji interactive client for using gitmojis on commit messages. You can use the commit functionality in two ways, directly or via a commit-hook.

termit - Translations with speech synthesis in your terminal as a ruby gem

  •    Ruby

Termit is an easy way to translate stuff in your terminal. You can check out its node.js npm version normit.Idea by Nedomas. See and hear your messages translated to target lang every time you commit. You can do this two ways: overriding the git command, and using a post-commit hook in git.

git-journal - The Git Commit Message and Changelog Generation Framework :book:

  •    Rust

Maintaining changelogs can be time-consuming, especially when multiple persons work on the same project. If you maintain a separate file, merge conflicts and additional release work is sure to follow. Sometimes complete entries are lost during merge conflict resolution, people forget to mention something or links between issues and actual commits are missing.