commit-msg

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

README

commit-msg

A git commit-msg hook by go.

Install

Just put the executable binary into the hook directory of your project which using git as VCS.

Assuming the project root is /, the hook directory should be /.git/hooks/ . Please make sure the binary is named as commit-msg or commit-msg.exe (win) , and the executable permission is granted.

If you can't find the hook directory, make sure you have shown the hidden directory.

After installation, git will call it automatically to validate commit message, no manual calls are required.

From pre-built binary

You can download the latest pre-built binary from here . However, only win64 binaries are available.

Build and install from source code

Please setup the go environment and build it yourself.

Sorry for the poor instructions.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL